summaryrefslogtreecommitdiff
path: root/npc/functions/mob_points.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-13 18:17:10 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-13 18:17:10 -0300
commit361b207402519ede7bb775218438abad40e84cc9 (patch)
tree07ebe740d9baff2219e8213fed18376d515990e9 /npc/functions/mob_points.txt
parenteb46ad0c28409b94a5fee6620ed8ee126d9e4086 (diff)
downloadserverdata-361b207402519ede7bb775218438abad40e84cc9.tar.gz
serverdata-361b207402519ede7bb775218438abad40e84cc9.tar.bz2
serverdata-361b207402519ede7bb775218438abad40e84cc9.tar.xz
serverdata-361b207402519ede7bb775218438abad40e84cc9.zip
Simplify some code
Diffstat (limited to 'npc/functions/mob_points.txt')
-rw-r--r--npc/functions/mob_points.txt7
1 files changed, 1 insertions, 6 deletions
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;