diff options
Diffstat (limited to 'world/map/npc/042-1/hasan.txt')
-rw-r--r-- | world/map/npc/042-1/hasan.txt | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/world/map/npc/042-1/hasan.txt b/world/map/npc/042-1/hasan.txt index 70b3a430..581eb83a 100644 --- a/world/map/npc/042-1/hasan.txt +++ b/world/map/npc/042-1/hasan.txt @@ -1,8 +1,8 @@ // This file is part of the Tutorial // Authors: Jenalya, alastrim -042-1.gat,90,61,0|script|Hasan|189,{ - +042-1.gat,90,61,0|script|Hasan|189, +{ set @toll, 10000; set @x, getx(); set @y, gety(); @@ -96,7 +96,7 @@ L_Trick: set $@ScorpionTimer, 0; set $@ScorpionFighter, getcharid(3); set $@ScorpDeath, PC_DIE_COUNTER; - monster "042-1.gat",89,63,"Scorpion",1003,1, "Hasan::onScorpionDeath"; + monster "042-1.gat",89,63,"Scorpion",1003,1, "Hasan::OnScorpionDeath"; initnpctimer; end; @@ -158,11 +158,11 @@ L_SummonAgain: message strcharinfo(0), "Kaan is mad at you for your interference! He walks over to the edge of the cliff and throws a rock on top of your head, then lets another scorpion run just near Hasan!"; percentheal -100, 0; message strcharinfo(0), "Kaan: \"Just go while he is distracted and no one is interfering!\""; - monster "042-1.gat",89,63,"Scorpion",1003,1, "Hasan::onScorpionDeath"; + monster "042-1.gat",89,63,"Scorpion",1003,1, "Hasan::OnScorpionDeath"; end; L_Clean: - killmonster "042-1.gat", "Hasan::onScorpionDeath"; + killmonster "042-1.gat", "Hasan::OnScorpionDeath"; set $@ScorpionFighter, 0; set $@ScorpionTimer, 0; set $@ScorpDeath, 0; @@ -200,7 +200,7 @@ OnTimer5000: setnpctimer 0; end; -onScorpionDeath: +OnScorpionDeath: if (getcharid(3) != $@ScorpionFighter) goto L_SummonAgain; if (hasan != 3) @@ -211,7 +211,8 @@ onScorpionDeath: } -042-1.gat,90,62,0|script|#Toll|32767,2,2,{ +042-1.gat,90,62,0|script|#Toll|32767,2,2, +{ end; OnTouch: @@ -226,7 +227,8 @@ OnTouch: } -042-1.gat,96,69,0|script|#barrier|45,0,2{ +042-1.gat,96,69,0|script|#barrier|45,0,2 +{ end; OnTouch: |