summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-21 13:35:00 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-21 13:35:00 -0300
commit36d561abde4edb8f2edac90fca3cdaa42dc754fe (patch)
tree2fcc71bf1b987dcc0697c0912bc71a9514075ee3 /npc/config
parentabd28dc68f6f75093e2b551e22e021b49239f92a (diff)
downloadserverdata-36d561abde4edb8f2edac90fca3cdaa42dc754fe.tar.gz
serverdata-36d561abde4edb8f2edac90fca3cdaa42dc754fe.tar.bz2
serverdata-36d561abde4edb8f2edac90fca3cdaa42dc754fe.tar.xz
serverdata-36d561abde4edb8f2edac90fca3cdaa42dc754fe.zip
Typos
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 5d2b898be..244777e79 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -120,10 +120,11 @@ function script SK_summon {
.@mob=getarg(0);
.@amt=getarg(1);
.@mex=getarg(2);
+ if ($@GM_OVERRIDE || debug) debugmes "Skill "+@skillId;
if (rand2(1,6) < abizit()+1) {
// Summon Magic (with magic level bonus)
- SummonMagic(@skillId, .@mob, .@amt, MAGIC_LVL+.@amt-1, @skillLv);
+ SummonMagic(@skillId, .@mob, .@amt, MAGIC_LVL+@skillLv-1, @skillLv);
} else {
dispbottom l("The spell fails!");
}