I seem to be having some issues on setting a hard cap on Asura Strike (MO_EXTREMITYFIST).
At the moment I'm using
return (skill_id == MO_EXTREMITYFIST)?cap_value(damage,0,240000):damage; // Testing Asura Cap
The damage it does on mobs/players(no reduction gear) is correct (240k).
HOWEVER, when a player equips a garment with a Deviling Card, it damages them for 180k instead of the supposed 120k, in the case of a Raydric Card it does the full 240k damage.
Can anyone give me any hints or does anyone have a snippet of code/a fix that could possibly help me out here?
Thanks!
p.s. I'm really going for the hard-cap, not a percentage based cap.
Question
Torch
I seem to be having some issues on setting a hard cap on Asura Strike (MO_EXTREMITYFIST).
At the moment I'm using
The damage it does on mobs/players(no reduction gear) is correct (240k).
HOWEVER, when a player equips a garment with a Deviling Card, it damages them for 180k instead of the supposed 120k, in the case of a Raydric Card it does the full 240k damage.
Can anyone give me any hints or does anyone have a snippet of code/a fix that could possibly help me out here?
Thanks!
p.s. I'm really going for the hard-cap, not a percentage based cap.
Edited by Torch0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.