summaryrefslogtreecommitdiff
path: root/npc/magic/zarkor.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic/zarkor.txt')
-rw-r--r--npc/magic/zarkor.txt16
1 files changed, 13 insertions, 3 deletions
diff --git a/npc/magic/zarkor.txt b/npc/magic/zarkor.txt
index 18718c811..301e74565 100644
--- a/npc/magic/zarkor.txt
+++ b/npc/magic/zarkor.txt
@@ -31,11 +31,21 @@ OnCall:
end;
}
+ // Setup
+ .@sk=TMW2_ZARKOR;
+ .@mp=400;
+ .@amp=75;
+
+ // Check if you have mana to cast
+ // MagicCheck(SkillID, Mana{, MP per level})
+ if (!MagicCheck(.@sk, .@mp, .@amp))
+ end;
+
// Summon Magic
- SummonMagic(TMW2_ZARKOR, 400, CaveMaggot, 75, 2);
+ SummonMagic(.@sk, CaveMaggot, 2);
- // Get a single mana experience point (this is NOT used by Soul Menhir)
- GetManaExp(TMW2_ZARKOR, 1);
+ // Get a single mana experience point (this is NOT used by Mana Stone)
+ GetManaExp(.@sk, 1);
/*
// set cooldown