summaryrefslogtreecommitdiff
path: root/npc/magic/kalmurk.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 11:34:01 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 11:34:01 -0300
commitf377bbc7cbce73b49ec708d951780d4efc0ac6f7 (patch)
tree5d13db357a30650f777b66213aec7f2b13315255 /npc/magic/kalmurk.txt
parent8e8f495d502883349e60dcb633755d9a98e20e5a (diff)
downloadserverdata-f377bbc7cbce73b49ec708d951780d4efc0ac6f7.tar.gz
serverdata-f377bbc7cbce73b49ec708d951780d4efc0ac6f7.tar.bz2
serverdata-f377bbc7cbce73b49ec708d951780d4efc0ac6f7.tar.xz
serverdata-f377bbc7cbce73b49ec708d951780d4efc0ac6f7.zip
Remove magic check from SummonMagic
Diffstat (limited to 'npc/magic/kalmurk.txt')
-rw-r--r--npc/magic/kalmurk.txt14
1 files changed, 12 insertions, 2 deletions
diff --git a/npc/magic/kalmurk.txt b/npc/magic/kalmurk.txt
index 11d1859df..8bd9f7f45 100644
--- a/npc/magic/kalmurk.txt
+++ b/npc/magic/kalmurk.txt
@@ -30,9 +30,19 @@ OnCall:
end;
}
+ // Setup
+ .@sk=TMW2_KALMURK;
+ .@mp=200;
+ .@amp=50;
+
+ // Check if you have mana to cast
+ // MagicCheck(SkillID, Mana{, MP per level})
+ if (!MagicCheck(.@sk, .@mp, .@amp))
+ end;
+
// Summon Magic
- // SummonMagic( SkillID, Mana, MobID{, MP per level, MobPerSkillLevel=2},{Lvl Override} )
- SummonMagic(TMW2_KALMURK, 200, Maggot, 50, 2, (MAGIC_LVL-1));
+ SummonMagic(.@sk, CaveMaggot, 2);
+
delitem MaggotSlime, 2;
// Get a single mana experience point (this is NOT used by Soul Menhir)