summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-11 15:53:45 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-11 15:53:45 -0300
commitbc102eaeb7fcccba30673827314a47e24d805d4f (patch)
tree4cee4e50107aaadc5d761c5676b83c935ac94100
parentdeccb766f9b556502375fe583458b03096941c6e (diff)
downloadserverdata-bc102eaeb7fcccba30673827314a47e24d805d4f.tar.gz
serverdata-bc102eaeb7fcccba30673827314a47e24d805d4f.tar.bz2
serverdata-bc102eaeb7fcccba30673827314a47e24d805d4f.tar.xz
serverdata-bc102eaeb7fcccba30673827314a47e24d805d4f.zip
Increase magic damage in 0.5% per int point
-rw-r--r--npc/config/magic.txt2
1 files changed, 1 insertions, 1 deletions
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);