diff options
-rw-r--r-- | npc/003-9/scripted.txt | 103 |
1 files changed, 101 insertions, 2 deletions
diff --git a/npc/003-9/scripted.txt b/npc/003-9/scripted.txt index d59ea7dea..cad87af4f 100644 --- a/npc/003-9/scripted.txt +++ b/npc/003-9/scripted.txt @@ -20,7 +20,7 @@ OnInit: OnEvent1: .@mapn$="tinn@"+getcharid(0); @tinn_assa=monster(.@mapn$, 47, 56, "???", Assassin, 1); - @tinn_boss=monster(.@mapn$, 48, 57, "???", HoodedAssassin, 1); + @tinn_boss=monster(.@mapn$, 48, 56, "???", HoodedAssassin, 1); unitwalk(@tinn_boss, 40, 47); addtimer 400, .name$+"::OnEvent2"; end; @@ -35,7 +35,8 @@ OnEvent2: OnEvent3: .@mapn$="tinn@"+getcharid(0); unitwarp(@tinn_boss, .@mapn$, 40, 47); - sc_start(SC_STUN, 1440, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_boss); + sc_start(SC_STUN, 13940, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_boss); + unittalk(@tinn_boss, l("*hurry up, your moron!*")); addtimer 440, .name$+"::OnEvent4"; // Roughly 2/11 tiles time end; @@ -43,12 +44,110 @@ OnEvent4: .@mapn$="tinn@"+getcharid(0); unitwarp(@tinn_assa, .@mapn$, 40, 48); sc_start(SC_STUN, 1000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_assa); + unittalk(@tinn_assa, l("*sorry, boss!*")); addtimer 1000, .name$+"::OnEvent5"; end; OnEvent5: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_boss, l("*is everything ready?*")); + addtimer 1500, .name$+"::OnEvent6"; + end; + +OnEvent6: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*Yes, boss!*")); + addtimer 1300, .name$+"::OnEvent7"; + end; + +OnEvent7: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_boss, l("*Don't shout, you moron!*")); + addtimer 1400, .name$+"::OnEvent8"; + end; + +OnEvent8: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*Yes, boss!*")); + addtimer 2000, .name$+"::OnEvent9"; + end; + +OnEvent9: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_boss, l("*I'll give you two energy balls.*")); + addtimer 1000, .name$+"::OnEvent10"; + end; + +OnEvent10: + .@mapn$="tinn@"+getcharid(0); + @tinn_ball=monster(.@mapn$, 41, 47, l("Energy Ball"), EnergyBall, 1); + @tinn_ba11=monster(.@mapn$, 41, 48, l("Energy Ball"), EnergyBall, 1); + sc_start(SC_STUN, 1000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_ball); + sc_start(SC_STUN, 1000, 1, 10000, SCFLAG_NOAVOID|SCFLAG_FIXEDTICK, @tinn_ba11); + addtimer 2000, .name$+"::OnEvent11"; + end; + +OnEvent11: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_boss, l("*Don't fail me. If you do, ensure you're well past dead before.*")); + addtimer 1800, .name$+"::OnEvent12"; + end; + +OnEvent12: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*Yes, boss!*")); + addtimer 1500, .name$+"::OnEvent13"; + end; + +OnEvent13: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_boss, l("*I'll take my leave, then.*")); + unitwalk(@tinn_boss, 47, 56); + addtimer 2200, .name$+"::OnEvent14"; + end; + +OnEvent14: + .@mapn$="tinn@"+getcharid(0); + unitwarp(@tinn_boss, "boss", 22, 22); + unitkill(@tinn_boss); + addtimer 200, .name$+"::OnEvent15"; + end; + +OnEvent15: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*hehehe...*")); + addtimer 800, .name$+"::OnEvent16"; + end; + +OnEvent16: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*The Professor will never know what got him...*")); + addtimer 800, .name$+"::OnEvent17"; + end; + +OnEvent17: + .@mapn$="tinn@"+getcharid(0); + unittalk(@tinn_assa, l("*hehehe...*")); + unitwalk(@tinn_assa, 47, 56); + addtimer 2200, .name$+"::OnEvent18"; + end; + +OnEvent18: + .@mapn$="tinn@"+getcharid(0); + unitwarp(@tinn_assa, "boss", 22, 22); + unitkill(@tinn_assa); + addtimer 200, .name$+"::OnEvent19"; + end; + +OnEvent19: + dispbottom l("*are they gone...?*"); + addtimer 200, .name$+"::OnEvent20"; + end; + +OnEvent20: setpcblock(255, false); dispbottom l("I better report this to Lua!"); + LUA_ASKED_TO_SLEEP=false; end; } |