diff options
-rw-r--r-- | db/re/skill_db.conf | 29 | ||||
-rw-r--r-- | npc/config/magic.txt | 3 |
2 files changed, 31 insertions, 1 deletions
diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index e5c02f1bb..108c73a93 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -38628,6 +38628,35 @@ skill_db: ( SkillInfo: { Quest: true } + CoolDown: { + Lv1: 20000 + Lv2: 18000 + Lv3: 16000 + Lv4: 14000 + Lv5: 12000 + Lv6: 10000 + Lv7: 10000 + Lv8: 10000 + Lv9: 10000 + Lv10: 10000 + } + Requirements: { + Items: { + MaggotSlime: 2 + } + SPCost: { + Lv1: 40 + Lv2: 45 + Lv3: 50 + Lv4: 55 + Lv5: 60 + Lv6: 65 + Lv7: 70 + Lv8: 75 + Lv9: 80 + Lv10: 85 + } + } }, { Id: 20026 diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 5d2b898be..244777e79 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -120,10 +120,11 @@ function script SK_summon { .@mob=getarg(0); .@amt=getarg(1); .@mex=getarg(2); + if ($@GM_OVERRIDE || debug) debugmes "Skill "+@skillId; if (rand2(1,6) < abizit()+1) { // Summon Magic (with magic level bonus) - SummonMagic(@skillId, .@mob, .@amt, MAGIC_LVL+.@amt-1, @skillLv); + SummonMagic(@skillId, .@mob, .@amt, MAGIC_LVL+@skillLv-1, @skillLv); } else { dispbottom l("The spell fails!"); } |