diff options
Diffstat (limited to 'world/map/npc/functions/mob_points.txt')
-rw-r--r-- | world/map/npc/functions/mob_points.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/world/map/npc/functions/mob_points.txt b/world/map/npc/functions/mob_points.txt index fd9729de..eb5aeff7 100644 --- a/world/map/npc/functions/mob_points.txt +++ b/world/map/npc/functions/mob_points.txt @@ -137,13 +137,22 @@ function|script|MobPoints|, if (MPQUEST == 1) set Mobpt, Mobpt + @points[@mobID - 1002]; + callfunc "ValonState"; + if (((@valon_start) && (!(@valon_end))) && (@mobID == $@ValonMob[@valon_mob])) + goto L_ValonMobKill; + goto L_NatureKarma; + +L_ValonMobKill: + callfunc "AddValonCntMask"; + goto L_NatureKarma; + +L_NatureKarma: // Scorpion, Red Scorpion, Black Scorpion, Angry Scorpion // DemonicMouboo, ViciousSquirrel, WickedMushroom, Bluepar if ((@mobID == 1003) || (@mobID == 1004) || (@mobID == 1009) || (@mobID == 1057) || (@mobID == 1104) || (@mobID == 1105) || (@mobID == 1106) || (@mobID == 1107)) goto L_good; - // Attitude adjustment for the witch (can we refactor this to another function? Not sure about max. recursion depth) set @value, 0; |