Jump to content
  • 0

User variables on Src


Wickedknight2

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  39
  • Reputation:   5
  • Joined:  06/09/17
  • Last Seen:  

    Hello rAthena. I am trying to make it so a skill can do pseudo Critical Damage. Was able to figure out how to make it so the skill damage will go higher based on the Critical Damage modifier, but can't find out the Critical chance variable.
This is the script so far:
 

            if(rnd()%100 <= sstatus->cri)
            skillratio += skillratio * sd->bonus.crit_atk_rate/100;

 

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...