From bc102eaeb7fcccba30673827314a47e24d805d4f Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Thu, 11 Mar 2021 15:53:45 -0300
Subject: Increase magic damage in 0.5% per int point

---
 npc/config/magic.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'npc')

diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index 41a3ce9d3..2b5cfdef9 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -15,7 +15,7 @@
 
 // AdjustSpellpower(power=100, {target=@skillTarget{, type=HARM_MAGI}})
 function	script	AdjustSpellpower	{
-    .@power=getarg(0, 100);
+    .@power=getarg(0, 100)+(readparam2(bInt)/2);
     .@target=getarg(1, @skillTarget);
     .@type=getarg(2, HARM_MAGI);
     .@src=getcharid(3);
-- 
cgit v1.2.3-70-g09d2