diff options
Diffstat (limited to 'npc/config/magic.txt')
-rw-r--r-- | npc/config/magic.txt | 3 |
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!"); } |