summaryrefslogtreecommitdiff
path: root/npc/config
diff options
context:
space:
mode:
Diffstat (limited to 'npc/config')
-rw-r--r--npc/config/magic.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/config/magic.txt b/npc/config/magic.txt
index ca42429b2..290f0410f 100644
--- a/npc/config/magic.txt
+++ b/npc/config/magic.txt
@@ -23,6 +23,8 @@ function script AdjustSpellpower {
.@src=getcharid(3);
.@dmg=calcdmg(.@src, .@target, .@type);
+ // Abizit Influence (80%~130% at best, worst shot at perfect ctrl is 105%)
+ .@dmg = .@dmg * (80 + abizit() * rand2(5,10)) / 100;
.@dmg = .@dmg * .@power / 100;
return .@dmg;
}