diff options
author | Sean Hulka <sean.hulka@gmail.com> | 2021-06-10 20:36:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 03:36:32 +0000 |
commit | 691a5a54e4d80ae70dc71ccf060a2539d2daf92d (patch) | |
tree | 11755002809d2f75ecaeec141606cf797fc92257 | |
parent | aff36beb16e9638d08f107fc6e6b46d6f7764243 (diff) | |
download | serverdata-691a5a54e4d80ae70dc71ccf060a2539d2daf92d.tar.gz serverdata-691a5a54e4d80ae70dc71ccf060a2539d2daf92d.tar.bz2 serverdata-691a5a54e4d80ae70dc71ccf060a2539d2daf92d.tar.xz serverdata-691a5a54e4d80ae70dc71ccf060a2539d2daf92d.zip |
Extend upmarmu duration (to make the spell less expensive for brawlers) and tweak damage (#587)
These changes make #upmarmu slightly less expensive and more likely that it will actually be used. Spellpower is re-integrated so that players have a reason to increase INT for more than just mana and mana regen and charges have been tweaked to make the spell more favourable for lower level players.
-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: |