From 361b207402519ede7bb775218438abad40e84cc9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 13 Apr 2021 18:17:10 -0300 Subject: Simplify some code --- npc/functions/mob_points.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'npc') diff --git a/npc/functions/mob_points.txt b/npc/functions/mob_points.txt index fc80d0cf..2a39fbee 100644 --- a/npc/functions/mob_points.txt +++ b/npc/functions/mob_points.txt @@ -45,14 +45,9 @@ function script MobPoints { callfunc "ValonCount"; if (((QL_VALON >= 2) && (QL_VALON < 6)) && (@mobId == $@ValonMob[@valon_mob])) - goto L_ValonMobKill; - goto L_NatureKarma; + callfunc("AddValonCntMask"); -L_ValonMobKill: - callfunc "AddValonCntMask"; - goto L_NatureKarma; -L_NatureKarma: if ((@mobId == 1003) || (@mobId == 1004) || (@mobId == 1009) || (@mobId == 1057) || (@mobId == 1104) || (@mobId == 1105) || (@mobId == 1106) || (@mobId == 1107)) goto L_Good; -- cgit v1.2.3-70-g09d2