Venture Posted September 22, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Share Posted September 22, 2013 (edited) I decided to change the ragnarok online formula, so i created an excel file to balance the growth as close as possible to the original. But somehow, the values are not as it is in the excel file than in the Ragnarok online.. Status.c str = ((15+(((TBL_PC*)bl)->status.base_level*(10/1)))+(((rstr)+(dex/5)+(status->luk/3)+(status->int_/5)+(status->agi/5))*((10/20)+((((TBL_PC*)bl)->status.base_level)*(10/1))*(1/32)))); status->matk_max = ((((float)level+20+((float)status_base_matk(status, level))*(11/10) ))+(((float)level*(1/125))*(((((float)status->int_/4)+((float)status->dex/8)+((float)status->luk/6))*((float)status_base_matk(status, level)))/18))); status->matk_min = (((float)level/2)+10+((float)status_base_matk(status, level))+(((float)level*(1/150))*((((((float)status->int_/4)+((float)status->dex/8)+((float)status->luk/6))*((float)status_base_matk(status, level)))/22)))); status->def2 += (int) (((1+((float)level/2)+((float)status->vit/2))+(((float)status->str/4)+((float)status->agi/6)+((float)status->dex/5)+((float)status->int_/7)+((float)status->vit/4)+((float)status->luk/5)*((float)level*(1/100)))*((float)level*(1/100)))); status->mdef2 += (int) ((((float)status->int_/2)+((float)level/2))+(((float)status->str/25)+((float)status->agi/4)+((float)status->dex/25)+((float)status->int_/2)+((float)status->vit/6)+((float)status->luk/7))*((float)level*(1/90))*((float)level*(1/100))); These works properly in the excel, but does not work properly in Ragnarok Online.. Why? Can anyone help me solve this? http://www.mediafire.com/?gf4dkfboukm2qp8 Link to Excel File. Can anyone please help me? I am truly desperate, I finally found the perfect formula I will be using, but it does not seem to work, I cannot understand why.. Anyone please..? Edited September 22, 2013 by gekigengar Quote Link to comment Share on other sites More sharing options...
Venture Posted September 27, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Author Share Posted September 27, 2013 (edited) nvm, I found the mistake, Thanks for viewing anyways. In C, (1/100) results 0. No wonder it fails to work. Thanks for not trying to help guys!. For those who encounters the same prolem, Put ((float)1/100) Edited September 27, 2013 by gekigengar Quote Link to comment Share on other sites More sharing options...
Venture Posted September 23, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Author Share Posted September 23, 2013 Someone? Quote Link to comment Share on other sites More sharing options...
Question
Venture
I decided to change the ragnarok online formula, so i created an excel file to balance the growth as close as possible to the original.
But somehow, the values are not as it is in the excel file than in the Ragnarok online..
Status.c
These works properly in the excel, but does not work properly in Ragnarok Online..
Why?
Can anyone help me solve this?
http://www.mediafire.com/?gf4dkfboukm2qp8 Link to Excel File.
Can anyone please help me?
I am truly desperate, I finally found the perfect formula I will be using, but it does not seem to work,
I cannot understand why..
Anyone please..?
Edited by gekigengarLink to comment
Share on other sites
2 answers 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.