Bläddra i källkod

Item Script for forgotten area 1 and 2 Crystal (#8809)

Co-authored-by: Atemo <Atemo@users.noreply.github.com>
aero012 5 månader sedan
förälder
incheckning
ca6daf9286
2 ändrade filer med 24 tillägg och 4 borttagningar
  1. 14 4
      db/re/item_db_usable.yml
  2. 10 0
      npc/re/mapflag/noteleport.txt

+ 14 - 4
db/re/item_db_usable.yml

@@ -78220,8 +78220,13 @@ Body:
       NoGuildStorage: true
       NoMail: true
       NoAuction: true
-#   Script: |
-#     /* TODO */
+    Script: |
+      if (strcharinfo(3) == "for_dun01")
+         warp "for_dun01",0,0;
+      else {
+         specialeffect2 EF_FREEZING;
+         showscript "It doesn't seem to have any effect here.", playerattached(), SELF;
+      }
   - Id: 102796
     AegisName: Forgotten_Crystal_2
     Name: Crystal of Forgotten Time (Area 2)
@@ -78234,8 +78239,13 @@ Body:
       NoGuildStorage: true
       NoMail: true
       NoAuction: true
-#   Script: |
-#     /* TODO */
+    Script: |
+      if (strcharinfo(3) == "for_dun02")
+         warp "for_dun02",0,0;
+      else {
+         specialeffect2 EF_FREEZING;
+         showscript "It doesn't seem to have any effect here.", playerattached(), SELF;
+      }
   - Id: 102797
     AegisName: Super_Sonic_pack
     Name: Super Sonic Package

+ 10 - 0
npc/re/mapflag/noteleport.txt

@@ -457,3 +457,13 @@ que_thr	mapflag	noteleport
 //============================================================
 itemmall	mapflag	noteleport
 itemmall	mapflag	monster_noteleport
+
+//============================================================
+// Forgotten Area 1
+//============================================================
+for_dun01	mapflag	noteleport
+
+//============================================================
+// Forgotten Area 2
+//============================================================
+for_dun02	mapflag	noteleport