Jump to content
  • 0
Sign in to follow this  
kalabasa

How to remove single strip additional based chance dex

Question

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;
        }

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 1

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

It will ignore your and target dex

  • Upvote 1

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.