summaryrefslogtreecommitdiff
path: root/npc/magic/kalmurk.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 11:44:19 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 11:44:19 -0300
commitc84e7eb929df8eac4d73e31389577f89a903e898 (patch)
tree7bb87f0b8ec94256110d91625df2102ebb8095ea /npc/magic/kalmurk.txt
parent0322bca5b89b6c6ca1749abeceba202947fbcc21 (diff)
downloadserverdata-c84e7eb929df8eac4d73e31389577f89a903e898.tar.gz
serverdata-c84e7eb929df8eac4d73e31389577f89a903e898.tar.bz2
serverdata-c84e7eb929df8eac4d73e31389577f89a903e898.tar.xz
serverdata-c84e7eb929df8eac4d73e31389577f89a903e898.zip
Mana Magic System corrections
Diffstat (limited to 'npc/magic/kalmurk.txt')
-rw-r--r--npc/magic/kalmurk.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/npc/magic/kalmurk.txt b/npc/magic/kalmurk.txt
index 98905c448..aea4fde5e 100644
--- a/npc/magic/kalmurk.txt
+++ b/npc/magic/kalmurk.txt
@@ -38,10 +38,6 @@ OnCall:
if (!MagicCheck(@sk, @mp, @amp))
end;
- // Summon Magic
- // SummonMagic(SkillID, MobID{, MobPerSkillLevel=2{, Level Override}})
- SummonMagic(@sk, Maggot, 2, abizit()+getskilllv(@sk));
-
// Destroy reagents
delitem MaggotSlime, 2;
@@ -49,6 +45,12 @@ OnCall:
@kalmurk_at=gettimetick(2);
@kalmurk_at=@kalmurk_at+16;
+ if (rand(0,5) < abizit()+1) {
+ // Summon Magic
+ // SummonMagic(SkillID, MobID{, MobPerSkillLevel=2{, Level Override}})
+ SummonMagic(@sk, Maggot, 2, MAGIC_LVL+getskilllv(@sk));
+ }
+
// Get a single mana experience point (this is NOT used by Soul Menhir)
GetManaExp(@sk, abizit()+1);