Jump to content
  • 0

How to remove single strip additional based chance dex


kalabasa

Question


  • Group:  Members
  • Topic Count:  123
  • Topics Per Day:  0.05
  • Content Count:  478
  • Reputation:   14
  • Joined:  11/30/17
  • Last Seen:  

Good Day all as the tittle says how to remove its success chance based on dex/stats below is the code

thanks again!

 

case RG_STRIPWEAPON:
        case RG_STRIPARMOR:
        case RG_STRIPSHIELD:
        case RG_STRIPHELM:
        case GC_WEAPONCRUSH:
            rate = 50 * (skill_lv + 1) + 2 * (sstatus->dex - tstatus->dex);
            mod = 1000;
            break;
        case ST_FULLSTRIP: {
            int min_rate = 50 + 20 * skill_lv;

            rate = min_rate + 2 * (sstatus->dex - tstatus->dex);
            rate = max(min_rate, rate);
            mod = 1000;
            break;
        }

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Remove  + 2 * (sstatus->dex - tstatus->dex)

It will ignore your and target dex

  • Upvote 1
Link to comment
Share on other sites

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