Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How WS's Upgrade Weapon calculation works ?
emirusan07 Offline
Love Life Live
***

Posts: 85
Threads: 7
Joined: Jul 2014
#1
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 Ok
Flame here, Hope you find ur own happiness No1
(This post was last modified: 04-01-2017, 07:20 AM by emirusan07.)
04-01-2017, 07:15 AM
Website Find Reply
gianluca280395 Offline
Starved from coding
***

Posts: 183
Threads: 14
Joined: Apr 2015
#2
RE: How WS's Upgrade Weapon calculation works ?
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%.
chars:
Crazy Bandit - Stalker
Nurelion - Creator
(with his amistr Gobball :3)
Sarcedos Signat - High Priest
Rulindil - Star Gladiator
[Image: code_monkey_coffee_mug-ref73810428c94d21...pe=content]
04-01-2017, 07:52 AM
Find Reply
emirusan07 Offline
Love Life Live
***

Posts: 85
Threads: 7
Joined: Jul 2014
#3
RE: How WS's Upgrade Weapon calculation works ?
(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
Flame here, Hope you find ur own happiness No1
(This post was last modified: 04-01-2017, 08:03 AM by emirusan07.)
04-01-2017, 08:03 AM
Website Find Reply
gianluca280395 Offline
Starved from coding
***

Posts: 183
Threads: 14
Joined: Apr 2015
#4
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
[Image: code_monkey_coffee_mug-ref73810428c94d21...pe=content]
04-01-2017, 08:58 AM
Find Reply
emirusan07 Offline
Love Life Live
***

Posts: 85
Threads: 7
Joined: Jul 2014
#5
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 No1

Now I can face the Whitesmith ranker path more brightlyIcon_twisted
Flame here, Hope you find ur own happiness No1
(This post was last modified: 04-01-2017, 09:15 AM by emirusan07.)
04-01-2017, 09:14 AM
Website Find Reply
The Roger Offline
RNGOD PRAISER #1
*****

Posts: 1,563
Threads: 67
Joined: Feb 2009
#6
RE: How WS's Upgrade Weapon calculation works ?
Yes, J70 WS makes every weapon refine% +10 to it. 10->20%, 50->60%, etc...
Album Collection:
[img]WIP[img]
and counting

CLICK HERE HeRO Videos!

[Image: image,RNGod,white,black.png]
[Image: NYD-ONESHOT-7-85-M-damage.png]
[Image: Screenshot-20190605-030429.jpg]
04-01-2017, 01:21 PM
Find Reply
Kiwis Offline
Cut & Uncut Lover
***

Posts: 140
Threads: 16
Joined: Mar 2012
#7
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
Find Reply


Forum Jump: