From 2c7c83bd748001a28e20c62f1bceb4fedba540bd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 10 Jun 2021 16:04:45 -0300 Subject: Fix MobPoints() wrong calls --- npc/017-1/flowerpentagram1.txt | 6 ++---- npc/017-1/flowerpentagram5.txt | 24 ++++++++---------------- 2 files changed, 10 insertions(+), 20 deletions(-) (limited to 'npc/017-1') diff --git a/npc/017-1/flowerpentagram1.txt b/npc/017-1/flowerpentagram1.txt index a1e60856..8d2d7118 100644 --- a/npc/017-1/flowerpentagram1.txt +++ b/npc/017-1/flowerpentagram1.txt @@ -43,13 +43,11 @@ L_Place: end; OnSquirrelDeath: - @mobId = 1105; - callfunc "MobPoints"; + fix_mobkill(1105); end; OnScorpionDeath: - @mobId = 1003; - callfunc "MobPoints"; + fix_mobkill(1003); end; L_MonstersAlive: diff --git a/npc/017-1/flowerpentagram5.txt b/npc/017-1/flowerpentagram5.txt index d13805f9..c9f6d5af 100644 --- a/npc/017-1/flowerpentagram5.txt +++ b/npc/017-1/flowerpentagram5.txt @@ -65,43 +65,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_TooEarly: -- cgit v1.2.3-60-g2f50