diff options
Diffstat (limited to 'npc/config')
-rw-r--r-- | npc/config/magic.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt index b627c30ab..39b138504 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -151,6 +151,10 @@ function script SK_summon { .@mex=getarg(2); if ($@GM_OVERRIDE || debug) debugmes "Skill "+@skillId+" Lv "+@skillLv; + // Blocked from summoning magic + if (alignment() < 0) + return; + if (rand2(5) < abizit()) { // Summon Magic (with magic level bonus) SummonMagic(@skillId, .@mob, .@amt, MAGIC_LVL+@skillLv-1, @skillLv); |