summaryrefslogtreecommitdiff
path: root/world/map/npc/027-5
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2014-04-11 14:32:22 -0500
committerwushin <pasekei@gmail.com>2014-04-15 20:26:28 -0500
commit47f790759ea3ea56d31e000bc3f3b7f142ee802d (patch)
tree369dc32bddb447076c5cf9298f6624366aa03ce2 /world/map/npc/027-5
parent6e9543af67c5e027269bfc32e9c6f36111f3832a (diff)
downloadserverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.gz
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.bz2
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.tar.xz
serverdata-47f790759ea3ea56d31e000bc3f3b7f142ee802d.zip
Npcs remaining script fixes
Npcs changed for travel Npcs changed for new maps Npcs changed for basic crypts
Diffstat (limited to 'world/map/npc/027-5')
-rw-r--r--world/map/npc/027-5/casket_traps.txt80
-rw-r--r--world/map/npc/027-5/general_terogan_door.txt19
2 files changed, 99 insertions, 0 deletions
diff --git a/world/map/npc/027-5/casket_traps.txt b/world/map/npc/027-5/casket_traps.txt
new file mode 100644
index 00000000..33d3ae56
--- /dev/null
+++ b/world/map/npc/027-5/casket_traps.txt
@@ -0,0 +1,80 @@
+027-5.gat,60,34,0|script|#casket17|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,34,50,0|script|#casket18|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,49,76,0|script|#casket19|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,60,89,0|script|#casket20|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,90,90,0|script|#casket21|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,92,76,0|script|#casket22|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,117,61,0|script|#casket23|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
+027-5.gat,94,48,0|script|#casket24|35,1,1
+{
+ end;
+
+OnTouch:
+ percentheal -10, 0;
+ specialeffect 301;
+ specialeffect 302;
+ end;
+}
diff --git a/world/map/npc/027-5/general_terogan_door.txt b/world/map/npc/027-5/general_terogan_door.txt
new file mode 100644
index 00000000..306ace35
--- /dev/null
+++ b/world/map/npc/027-5/general_terogan_door.txt
@@ -0,0 +1,19 @@
+// Mini-Boss
+// General Terogan
+
+027-5.gat,70,25,0|script|#GeneralDoor3|35,1,0
+{
+ if ( (countitem("CryptKey") < 10) && ($@CRYPT_FIGHT3 != 0) )
+ goto L_NoKeys;
+
+ delitem "CryptKey", 10;
+ warp "027-8.gat",39,60;
+ goto L_Close;
+
+L_NoKeys:
+ message strcharinfo(0), "This door is locked.";
+ end;
+
+L_Close:
+ close;
+}