diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2013-07-07 12:51:32 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2013-07-07 12:51:32 +0200 |
commit | 0dd134db3f6f67bb5e4401f1ba7bf3e97f201505 (patch) | |
tree | 4a200c1eeb684039390959107a6f413e065384fd /world/map/npc/042-1/hasan.txt | |
parent | a89882b69d9f12499404ca9d471d5a735bc63988 (diff) | |
parent | 135f0fe12564decad0d3e2ff8af8f798b0a7f4cf (diff) | |
download | serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.gz serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.bz2 serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.xz serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.zip |
Merge remote-tracking branch 'origin/master' into waric
Conflicts:
world/map/db/mob_db.txt
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: |