From 39cce0d15c3eab882b2d2887c2007de94fbac22a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 14 Apr 2021 22:53:28 -0300 Subject: Give a permanent 5% "MATK" bonus per magic skill level (excl. level 1). This will make the abizit fall lower, and make you more powerful in overall --- npc/magic/config.txt | 4 ++++ 1 file changed, 4 insertions(+) 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); -- cgit v1.2.3-60-g2f50