diff options
Diffstat (limited to 'npc/magic')
-rw-r--r-- | npc/magic/config.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/magic/config.txt b/npc/magic/config.txt index 5a73317c..2cede16a 100644 --- a/npc/magic/config.txt +++ b/npc/magic/config.txt @@ -37,6 +37,10 @@ function script AdjustSpellpower { if (.@target < 1 || .@target == getcharid(3)) .@target=0; + // Your magic power permanently increases your damage in 5% + if (getskilllv(SKILL_MAGIC) > 1) + .@power+=getskilllv(SKILL_MAGIC)*5-5; + // Calculation FIX if (.@type == HARM_MAGI) { .@power+=(readparam2(UDT_INT)/5); |