summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
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)