diff options
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r-- | world/map/npc/magic/level2-magic-knuckles.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/world/map/npc/magic/level2-magic-knuckles.txt b/world/map/npc/magic/level2-magic-knuckles.txt index ab74d474..ac612bb0 100644 --- a/world/map/npc/magic/level2-magic-knuckles.txt +++ b/world/map/npc/magic/level2-magic-knuckles.txt @@ -14,11 +14,11 @@ set Sp, Sp - 20; misceffect FX_MAGIC_KNUCKLE_CAST, strcharinfo(0); setarray @upmarmuspell[0], - (BASE_ATK), // dmg - ((Dex/3) + 10), // charges - (sqrt(300 - (Agi * 2))+(5/2)), // delay + BASE_ATK, // dmg + ((@spellpower/10) + ((Dex * 8)/(sqrt(BaseLevel + 34)) + 20), // charges (you get more at lower levels) + (sqrt(300 - (Agi * 2)) + (5/2)), // delay Agi, // dmg bonus - ((sqrt(BaseLevel + 9) + Str) * 2); // do not allow to equip light armor, cast, and then switch to heavy armor to get bonus str + (((BaseLevel/5) + Str) * 2); // do not allow to equip light armor, cast, and then switch to heavy armor to get bonus str callfunc "magic_exp"; goto L_FreeRecast; @@ -42,7 +42,7 @@ OnDischarge: end; OnSetRecast: - overrideattack (@upmarmuspell[2] * @upmarmuspell[2]), 1, ATTACK_ICON_GENERIC, OVERRIDE_KNUCKLES, strnpcinfo(0)+"::OnAttack", @upmarmuspell[1]; // delay neeeds to be squared + overrideattack (@upmarmuspell[2] * @upmarmuspell[2]), 1, ATTACK_ICON_GENERIC, OVERRIDE_KNUCKLES, strnpcinfo(0)+"::OnAttack", @upmarmuspell[1]; // delay needs to be squared end; OnInit: |