summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 11:48:21 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 11:48:21 -0300
commit1efca991cce451b1443e4de462c82bf352eee7fa (patch)
tree4fe9acb348a32c943325bebd17631982ba869fdd /npc
parentc84e7eb929df8eac4d73e31389577f89a903e898 (diff)
downloadserverdata-1efca991cce451b1443e4de462c82bf352eee7fa.tar.gz
serverdata-1efca991cce451b1443e4de462c82bf352eee7fa.tar.bz2
serverdata-1efca991cce451b1443e4de462c82bf352eee7fa.tar.xz
serverdata-1efca991cce451b1443e4de462c82bf352eee7fa.zip
That should be everything my current magic sys implement needs for kalmurk
Diffstat (limited to 'npc')
-rw-r--r--npc/config/magic.txt2
-rw-r--r--npc/magic/kalmurk.txt6
2 files changed, 4 insertions, 4 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 677d7f1e3..95f9eb1b8 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -54,7 +54,7 @@ function script MagicCheck {
return 1;
}
-// SkillID, MobID{, MobPerSkillLevel=2{, Level Override}}
+// SkillID, MobID{, SkillLevelPerMob=2{, Level Override}}
function script SummonMagic {
.@sk=getarg(0);
.@id=getarg(1);
diff --git a/npc/magic/kalmurk.txt b/npc/magic/kalmurk.txt
index aea4fde5e..8d837d0d5 100644
--- a/npc/magic/kalmurk.txt
+++ b/npc/magic/kalmurk.txt
@@ -45,10 +45,10 @@ OnCall:
@kalmurk_at=gettimetick(2);
@kalmurk_at=@kalmurk_at+16;
- if (rand(0,5) < abizit()+1) {
+ if (rand(1,6) < abizit()+1) {
// Summon Magic
- // SummonMagic(SkillID, MobID{, MobPerSkillLevel=2{, Level Override}})
- SummonMagic(@sk, Maggot, 2, MAGIC_LVL+getskilllv(@sk));
+ // SummonMagic(SkillID, MobID{, SkillLevelPerMob=2{, Level Override}})
+ SummonMagic(@sk, Maggot, 2, MAGIC_LVL+getskilllv(@sk)-1);
}
// Get a single mana experience point (this is NOT used by Soul Menhir)