emirusan07
Love Life Live
Posts: 85
Threads: 7
Joined: Jul 2014
|
How WS's Upgrade Weapon calculation works ?
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
Flame here, Hope you find ur own happiness
(This post was last modified: 04-01-2017, 07:20 AM by emirusan07.)
|
|
04-01-2017, 07:15 AM |
|
gianluca280395
Starved from coding
Posts: 183
Threads: 14
Joined: Apr 2015
|
RE: How WS's Upgrade Weapon calculation works ?
Hi
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%.
chars:
Crazy Bandit - Stalker
Nurelion - Creator (with his amistr Gobball :3)
Sarcedos Signat - High Priest
Rulindil - Star Gladiator
|
|
04-01-2017, 07:52 AM |
|
emirusan07
Love Life Live
Posts: 85
Threads: 7
Joined: Jul 2014
|
RE: How WS's Upgrade Weapon calculation works ?
(04-01-2017, 07:52 AM)gianluca280395 Wrote: Hi
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
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 here
Flame here, Hope you find ur own happiness
(This post was last modified: 04-01-2017, 08:03 AM by emirusan07.)
|
|
04-01-2017, 08:03 AM |
|
gianluca280395
Starved from coding
Posts: 183
Threads: 14
Joined: Apr 2015
|
RE: How WS's Upgrade Weapon calculation works ?
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
chars:
Crazy Bandit - Stalker
Nurelion - Creator (with his amistr Gobball :3)
Sarcedos Signat - High Priest
Rulindil - Star Gladiator
|
|
04-01-2017, 08:58 AM |
|
emirusan07
Love Life Live
Posts: 85
Threads: 7
Joined: Jul 2014
|
RE: How WS's Upgrade Weapon calculation works ?
(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
Now I can face the Whitesmith ranker path more brightly
Flame here, Hope you find ur own happiness
(This post was last modified: 04-01-2017, 09:15 AM by emirusan07.)
|
|
04-01-2017, 09:14 AM |
|
Kiwis
Cut & Uncut Lover
Posts: 140
Threads: 16
Joined: Mar 2012
|
RE: How WS's Upgrade Weapon calculation works ?
so 100% -> 110%???
PLACENTAPLACENTAPLACENTAPLACENTAPLACENTAPLACENTAPLACENTA
Big Bad Apple | Taco Pie | Natchos | Eggplant | Papricka
Kiwi Tunes | Bacon & Eggs | Pimento | Placenta
PLACENTAPLACENTAPLACENTAPLACENTAPLACENTAPLACENTAPLACENTA
|
|
04-02-2017, 07:18 AM |
|
|