Jump to content
  • 0

Issue setting Asura Strike hard cap


Torch

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  12/11/12
  • Last Seen:  

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.

Edited by Torch
  • Upvote 1
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...