diff options
Diffstat (limited to 'npc/003-9/scripted.txt')
-rw-r--r-- | npc/003-9/scripted.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/npc/003-9/scripted.txt b/npc/003-9/scripted.txt index 673beeafe..d59ea7dea 100644 --- a/npc/003-9/scripted.txt +++ b/npc/003-9/scripted.txt @@ -18,7 +18,37 @@ OnInit: end; OnEvent1: + .@mapn$="tinn@"+getcharid(0); + @tinn_assa=monster(.@mapn$, 47, 56, "???", Assassin, 1); + @tinn_boss=monster(.@mapn$, 48, 57, "???", HoodedAssassin, 1); + unitwalk(@tinn_boss, 40, 47); + addtimer 400, .name$+"::OnEvent2"; + end; + +OnEvent2: + .@mapn$="tinn@"+getcharid(0); + setunitdata(@tinn_assa, UDT_SPEED, 200); // So they walk at same pace + unitwalk(@tinn_assa, 40, 48); + addtimer 1860, .name$+"::OnEvent3"; // Roughly 9/11 tiles time + end; + +OnEvent3: + .@mapn$="tinn@"+getcharid(0); + unitwarp(@tinn_boss, .@mapn$, 40, 47); + sc_start(SC_STUN, 1440, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_boss); + addtimer 440, .name$+"::OnEvent4"; // Roughly 2/11 tiles time + end; + +OnEvent4: + .@mapn$="tinn@"+getcharid(0); + unitwarp(@tinn_assa, .@mapn$, 40, 48); + sc_start(SC_STUN, 1000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_assa); + addtimer 1000, .name$+"::OnEvent5"; + end; + +OnEvent5: setpcblock(255, false); + dispbottom l("I better report this to Lua!"); end; } |