From 36d561abde4edb8f2edac90fca3cdaa42dc754fe Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 21 Oct 2019 13:35:00 -0300 Subject: Typos --- npc/config/magic.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/config') 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!"); } -- cgit v1.2.3-60-g2f50