summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-22 19:41:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-22 19:41:49 -0300
commit98e32aa92e8c1f6f3070f50a39ec74cfcc4258dd (patch)
tree6d131e99d3699325dfc87e0814f127144e63d8ed
parent0fa65794c45799b94fc932ed3ff625d3118f167e (diff)
downloadserverdata-98e32aa92e8c1f6f3070f50a39ec74cfcc4258dd.tar.gz
serverdata-98e32aa92e8c1f6f3070f50a39ec74cfcc4258dd.tar.bz2
serverdata-98e32aa92e8c1f6f3070f50a39ec74cfcc4258dd.tar.xz
serverdata-98e32aa92e8c1f6f3070f50a39ec74cfcc4258dd.zip
Use ponderate average on Demure Skill
-rw-r--r--npc/magic/demure.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/magic/demure.txt b/npc/magic/demure.txt
index 620908b1a..ea6de2898 100644
--- a/npc/magic/demure.txt
+++ b/npc/magic/demure.txt
@@ -81,11 +81,11 @@ function script SK_Demure {
// Add two SC_ effects: One to raise attack speed and other to drop evade
//sc_start(<effect type>, <ticks>, <value 1>{, <rate>, <flag>{, <GID>}})
sc_start SC_ATTHASTE_POTION2, .@length, .@effect;
- sc_start SC_INCHITRATE, .@length, .@effect;
- sc_start SC_INCATKRATE, .@length, .@effect;
- sc_start SC_INCFLEERATE, (.@length+.@malus), .@penalty;
- sc_start SC_INCDEFRATE, (.@length+.@malus), .@penalty;
- sc_start SC_INCMHPRATE, (.@length+.@malus), .@penalty;
+ SC_Bonus(.@length, SC_INCHITRATE, .@effect);
+ SC_Bonus(.@length, SC_INCATKRATE, .@effect);
+ SC_Bonus((.@length+.@malus), SC_INCFLEERATE, .@penalty);
+ SC_Bonus((.@length+.@malus), SC_INCDEFRATE, .@penalty);
+ SC_Bonus((.@length+.@malus), SC_INCMHPRATE, .@penalty);
// set cooldown and timer
@demure_at=gettimetick(2);