summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-08-09 23:31:50 -0300
committerJesusaves <cpntb1@ymail.com>2018-08-09 23:31:50 -0300
commit0d3c2f023eeb67275dac9aa9c2d7f2dda9f269b4 (patch)
tree7b63ff7ed064fba40d9778de025b08e9c03f4b6f
parentf662ebc4232d427ec394d27d3c9153a625de8a4d (diff)
downloadserverdata-0d3c2f023eeb67275dac9aa9c2d7f2dda9f269b4.tar.gz
serverdata-0d3c2f023eeb67275dac9aa9c2d7f2dda9f269b4.tar.bz2
serverdata-0d3c2f023eeb67275dac9aa9c2d7f2dda9f269b4.tar.xz
serverdata-0d3c2f023eeb67275dac9aa9c2d7f2dda9f269b4.zip
I think I've found the bug >.<
-rw-r--r--npc/config/magic.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 85d3442bf..81d0cdbeb 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -32,7 +32,7 @@ function script GetManaExp {
LAST_SKILL=.@sk;
MAGIC_EXP=MAGIC_EXP+.@pt+.@bonus;
debugmes "--- Magic Subsystem: GME: Complete";
- end;
+ return;
}
// SkillID, Mana{, MP per level}
@@ -82,5 +82,5 @@ function script SummonMagic {
for (.@i = 0; .@i < (.@lv+(.@adj-1))/.@adj; .@i++)
summon("Summoned Monster", .@id, rand(35,50)+.@lv*10);
dispbottom l("All monsters summoned!");
-
+ return;
}