diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-06-10 16:04:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-06-10 16:04:45 -0300 |
commit | 2c7c83bd748001a28e20c62f1bceb4fedba540bd (patch) | |
tree | cdd87c01e964f3c4d9dc1b467cf4a7c8fa9c37ab /npc/055-1 | |
parent | 61910b26f564398e3c7cea4f803c07445f9b82da (diff) | |
download | serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.gz serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.bz2 serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.tar.xz serverdata-2c7c83bd748001a28e20c62f1bceb4fedba540bd.zip |
Fix MobPoints() wrong calls
Diffstat (limited to 'npc/055-1')
-rw-r--r-- | npc/055-1/flowerpentagram4.txt | 24 | ||||
-rw-r--r-- | npc/055-1/pumpkins.txt | 3 |
2 files changed, 9 insertions, 18 deletions
diff --git a/npc/055-1/flowerpentagram4.txt b/npc/055-1/flowerpentagram4.txt index 12e0f833..f310e218 100644 --- a/npc/055-1/flowerpentagram4.txt +++ b/npc/055-1/flowerpentagram4.txt @@ -56,43 +56,35 @@ L_Place: end; OnSquirrelDeath: - @mobId = 1105; - callfunc "MobPoints"; + fix_mobkill(1105); end; OnMushroomDeath: - @mobId = 1106; - callfunc "MobPoints"; + fix_mobkill(1106); end; OnBlueparDeath: - @mobId = 1107; - callfunc "MobPoints"; + fix_mobkill(1107); end; OnMoubooDeath: - @mobId = 1104; - callfunc "MobPoints"; + fix_mobkill(1104); end; OnScorpionDeath: - @mobId = 1003; - callfunc "MobPoints"; + fix_mobkill(1003); end; OnRScorpionDeath: - @mobId = 1004; - callfunc "MobPoints"; + fix_mobkill(1004); end; OnAScorpionDeath: - @mobId = 1057; - callfunc "MobPoints"; + fix_mobkill(1057); end; OnBScorpionDeath: - @mobId = 1009; - callfunc "MobPoints"; + fix_mobkill(1009); end; L_MonstersAlive: diff --git a/npc/055-1/pumpkins.txt b/npc/055-1/pumpkins.txt index 8f243d46..d008d389 100644 --- a/npc/055-1/pumpkins.txt +++ b/npc/055-1/pumpkins.txt @@ -20,8 +20,7 @@ if (countitem("PumpkinSeeds") >= $@halloween_num_seeds) goto L_EnoughSeeds; - @mobId = 1063; - callfunc "MobPoints"; + fix_mobkill(1063); goto L_Destroy; L_EnoughSeeds: |