diff options
Diffstat (limited to 'npc/magic/config.txt')
-rw-r--r-- | npc/magic/config.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/magic/config.txt b/npc/magic/config.txt index 89f9dd25..5a73317c 100644 --- a/npc/magic/config.txt +++ b/npc/magic/config.txt @@ -157,6 +157,8 @@ function script SK_summon { .@mex=getarg(2, 1); .@sum=getarg(3, true); if ($@GM_OVERRIDE || debug) debugmes "Skill "+@skillId+" Lv "+@skillLv; + if (ispcdead()) + return; if (rand2(10) < abizit()) { // Summon Magic (with magic level bonus) |