summaryrefslogtreecommitdiff
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
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
-rw-r--r--db/re/skill_db.conf2
-rw-r--r--db/re/skill_tree.conf2
-rw-r--r--npc/config/magic.txt2
-rw-r--r--npc/magic/kalmurk.txt6
4 files changed, 6 insertions, 6 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf
index 670050f40..cc6e47528 100644
--- a/db/re/skill_db.conf
+++ b/db/re/skill_db.conf
@@ -38407,7 +38407,7 @@ skill_db: (
Id: 20025
Name: "TMW2_KALMURK"
Description: "Summon Maggot"
- MaxLevel: 1
+ MaxLevel: 4
SkillType: {
Self: true
}
diff --git a/db/re/skill_tree.conf b/db/re/skill_tree.conf
index 54ad9e79d..0b0577a66 100644
--- a/db/re/skill_tree.conf
+++ b/db/re/skill_tree.conf
@@ -41,7 +41,7 @@ Human: {
// Mana Skills
TMW2_ZARKOR: 3
TMW2_PARUM: 0
- TMW2_KALMURK: 0
+ TMW2_KALMURK: 4
// TODO
ALL_INCCARRY: 0
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)