diff options
Diffstat (limited to 'npc/magic/dragokin.txt')
-rw-r--r-- | npc/magic/dragokin.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/magic/dragokin.txt b/npc/magic/dragokin.txt index 544859cce..4acbb0a5b 100644 --- a/npc/magic/dragokin.txt +++ b/npc/magic/dragokin.txt @@ -8,10 +8,14 @@ // Cooldown is cast duration function script SK_Dragokin { + // Blocked from summoning magic + if (alignment() < 0) + return; + // Other requeriments: 5x Dragon Scale or Demure Axe if (!(countitem(DragonScales) >= 4 || countitem(DemureAxe))) { dispbottom l("You need 4x @@ to cast this skill.", getitemlink(DragonScales)); - end; + return; } // Setup @@ -22,7 +26,7 @@ function script SK_Dragokin { // Check if you have mana to cast // MagicCheck(SkillID, Mana{, MP per level}) if (!MagicCheck(@sk, @mp, @amp)) - end; + return; // Destroy reagents if (!countitem(DemureAxe)) |