summaryrefslogtreecommitdiff
path: root/npc/001-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-17 22:19:23 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-17 22:19:23 -0300
commit267e973b9e0c98880953012d39fd8e9e88d1d0cb (patch)
tree7a1ef731bf8b4e520e1d0812ffed3c7b0d8463d4 /npc/001-4
parentc2d519223d879e6b1b2743c572262b6cb94245f0 (diff)
downloadserverdata-267e973b9e0c98880953012d39fd8e9e88d1d0cb.tar.gz
serverdata-267e973b9e0c98880953012d39fd8e9e88d1d0cb.tar.bz2
serverdata-267e973b9e0c98880953012d39fd8e9e88d1d0cb.tar.xz
serverdata-267e973b9e0c98880953012d39fd8e9e88d1d0cb.zip
Hercules Wisdom - Traps hurt players, alright...
...But they can now trap monsters, too! :>
Diffstat (limited to 'npc/001-4')
-rw-r--r--npc/001-4/traps.txt42
1 files changed, 41 insertions, 1 deletions
diff --git a/npc/001-4/traps.txt b/npc/001-4/traps.txt
index 54566fccb..e51bc5e30 100644
--- a/npc/001-4/traps.txt
+++ b/npc/001-4/traps.txt
@@ -22,7 +22,15 @@ L_armar:
L_disparar:
setnpctimer 9000;
setnpcdisplay @object_name$, NPC_TRAP_TRIGGERED;
- percentheal -80, 0;
+ if (playerattached())
+ {
+ percentheal -80, 0;
+ }
+ else
+ {
+ sc_start SC_WALKSPEED,15000,70;
+ sc_start SC_SLEEP,3000,0;
+ }
specialeffect 11;
return;
}
@@ -33,6 +41,7 @@ L_disparar:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -50,6 +59,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -67,6 +77,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -84,6 +95,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -101,6 +113,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name = .name$;
callfunc "SteelTrap";
@@ -119,6 +132,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -136,6 +150,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -153,6 +168,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -170,6 +186,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -187,6 +204,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -204,6 +222,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -227,6 +246,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -244,6 +264,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -261,6 +282,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -278,6 +300,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -295,6 +318,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -312,6 +336,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -329,6 +354,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -346,6 +372,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -363,6 +390,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -380,6 +408,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -397,6 +426,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -414,6 +444,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -431,6 +462,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -448,6 +480,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -465,6 +498,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -482,6 +516,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -499,6 +534,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -516,6 +552,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -533,6 +570,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -550,6 +588,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";
@@ -567,6 +606,7 @@ OnTimer10000:
mesq l("Something seems off with that!");
close;
+OnTouchNPC:
OnTouch:
@object_name$ = .name$;
callfunc "SteelTrap";