diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-16 11:41:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-16 11:41:21 -0300 |
commit | 0322bca5b89b6c6ca1749abeceba202947fbcc21 (patch) | |
tree | 9a33191eb469fa4eb7d6f846d23dfc675ce1160f /npc/magic | |
parent | cbaeeca7d3b248f1c5544317701d6f3f9b0b057c (diff) | |
download | serverdata-0322bca5b89b6c6ca1749abeceba202947fbcc21.tar.gz serverdata-0322bca5b89b6c6ca1749abeceba202947fbcc21.tar.bz2 serverdata-0322bca5b89b6c6ca1749abeceba202947fbcc21.tar.xz serverdata-0322bca5b89b6c6ca1749abeceba202947fbcc21.zip |
Fix mana cost bug
Diffstat (limited to 'npc/magic')
-rw-r--r-- | npc/magic/kalmurk.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/npc/magic/kalmurk.txt b/npc/magic/kalmurk.txt index 1471180eb..98905c448 100644 --- a/npc/magic/kalmurk.txt +++ b/npc/magic/kalmurk.txt @@ -40,17 +40,18 @@ OnCall: // Summon Magic // SummonMagic(SkillID, MobID{, MobPerSkillLevel=2{, Level Override}}) - SummonMagic(@sk, Maggot, 2); + SummonMagic(@sk, Maggot, 2, abizit()+getskilllv(@sk)); + // Destroy reagents delitem MaggotSlime, 2; - // Get a single mana experience point (this is NOT used by Soul Menhir) - GetManaExp(@sk, 1); - - // set cooldown @kalmurk_at=gettimetick(2); @kalmurk_at=@kalmurk_at+16; + + // Get a single mana experience point (this is NOT used by Soul Menhir) + GetManaExp(@sk, abizit()+1); + end; OnInit: |