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
#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


Messages In This Thread
RE: How WS's Upgrade Weapon calculation works ? - by emirusan07 - 04-01-2017, 09:14 AM

Forum Jump: