Jump to content
  • 0

How to remove single strip additional based chance dex


Question

Posted

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

1 answer to this question

Recommended Posts

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...