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.