heRO-Server Forum

Full Version: How WS's Upgrade Weapon calculation works ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As we know Whitesmith's Upgrade Weapon skill gives us +10% success change for refining at job 70, detail here

But I'm curious how the Calculation works. Example, if we want to refine +5 to +6 lvl 3 weapon with the chance success is 60%, does the upgrade weapon effect work like

1. Hard +10%
so, 60% + 10% = 70&

or

2. Soft + 10%
= 60% + (10% from 60%)
= 60% + 6%
= 66%

Thx for advance Ok
Hi Icon_smile

searching in the skill files I found that if you are mechanic (which isn't available) you get 10% absolute success rate, and if you are a whitesmith, 0.5% for each level above 50 (10% at lv 70).

Other thing that idk why but if you are below job 50 you get a negative bonus chance, so it is not worth to use the skill in this case (maybe I'm wrong, but it looks like this). Actually I never had a WS so idk if you can use this skill if you are below lv 50 so whatever.

so, in your example, a weapon that has 60% success rate would go to 70%.
(04-01-2017 07:52 AM)gianluca280395 Wrote: [ -> ]Hi Icon_smile

searching in the skill files I found that if you are mechanic (which isn't available) you get 10% absolute success rate, and if you are a whitesmith, 0.5% for each level above 50 (10% at lv 70).

Other thing that idk why but if you are below job 50 you get a negative bonus chance, so it is not worth to use the skill in this case (maybe I'm wrong, but it looks like this). Actually I never had a WS so idk if you can use this skill if you are below lv 50 so whatever.

so, in your example, a weapon that has 60% success rate would go to 70%.

I'm curious about the things that I bold, do you mind to share the link about it Ok

And thx for the input for hard +10%, but I'm still waiting another input about it. Hopefully the one who has script skills, so we can clear the smoke hereLaugh
The hercules files are free for anyone to download. I can upload the skill files if you want.

Code:
            per = status->get_refine_chance(ditem->wlv, (int)item->refine) * 10;

            // Aegis leaked formula. [malufett]
            if( sd->status.class_ == JOB_MECHANIC_T )
                per += 100;
            else
                per += 5 * ((signed int)sd->status.job_level - 50);

            pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_OTHER); // FIXME: is this the correct reason flag?
            if (per > rnd() % 1000) {

I won't copy the whole code here because its too long, but if your per value (which is the base success rate for this weapon level/refine plus your bonus based on job) is greater than a random value between 0 and 999, then you have success
(04-01-2017 08:58 AM)gianluca280395 Wrote: [ -> ]The hercules files are free for anyone to download. I can upload the skill files if you want.

Code:
            per = status->get_refine_chance(ditem->wlv, (int)item->refine) * 10;

            // Aegis leaked formula. [malufett]
            [b]if( sd->status.class_ == JOB_MECHANIC_T )
                per += 100;
            else
                per += 5 * ((signed int)sd->status.job_level - 50);[/b]

            pc->delitem(sd, i, 1, 0, DELITEM_NORMAL, LOG_TYPE_OTHER); // FIXME: is this the correct reason flag?
            if (per > rnd() % 1000) {

I won't copy the whole code here because its too long, but if your per value (which is the base success rate for this weapon level/refine plus your bonus based on job) is greater than a random value between 0 and 999, then you have success

Hmm according to that script/formula, it seems likely WS'S Upgrade Weapon give hard +10%

well, thx for input buddy No1

Now I can face the Whitesmith ranker path more brightlyIcon_twisted
Yes, J70 WS makes every weapon refine% +10 to it. 10->20%, 50->60%, etc...
so 100% -> 110%???
Reference URL's