summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-14 22:53:28 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-14 22:53:28 -0300
commit39cce0d15c3eab882b2d2887c2007de94fbac22a (patch)
tree378dd4dc45a4e0cb246d52f4cd245730de8f6940 /npc/magic
parentae1ae23ee4b5c63e8e3d7ded2b5d4a558ce73244 (diff)
downloadserverdata-39cce0d15c3eab882b2d2887c2007de94fbac22a.tar.gz
serverdata-39cce0d15c3eab882b2d2887c2007de94fbac22a.tar.bz2
serverdata-39cce0d15c3eab882b2d2887c2007de94fbac22a.tar.xz
serverdata-39cce0d15c3eab882b2d2887c2007de94fbac22a.zip
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
Diffstat (limited to 'npc/magic')
-rw-r--r--npc/magic/config.txt4
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);