summaryrefslogtreecommitdiff
path: root/npc/001-4/traps.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/001-4/traps.txt')
-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";