Critical strike

Here you can talk about anything you want ;)

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Critical strike

Postby wolf on Tue Jul 26, 2011 3:07 pm

Hello
I am sorry to join on your just site just to ask a question but it would seem that it is difficult to answer because nobody can answer, maybe you can.
I looked and asked everywhere but without result.
Finally I found your site and i test vfsnextgen but it is difficult to use for me.
So my question of the death which not kills is : How to calculate the % of critical success and the amount of the damage bonus. (it’s hard ??? Oo)

I play on the official server.
Thank you for help me.
wolf
Little soul
Little soul
 
Posts: 2
Joined: Tue Jul 26, 2011 12:26 pm

Re: Critical strike

Postby PurpleYouko on Tue Jul 26, 2011 3:13 pm

Unfortunately nobody knows precisely how the critical function works in the official server.

In the osrose servers it works pretty much any way that we want to make it work.
The default code generates a random number from 1 to 300. If this number is lower than your "crit" value then you score a critical hit which does 150% normal damage.

It's very arbitrary and very probably bears no real resemblance to the way NARose does it.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Critical strike

Postby wolf on Tue Jul 26, 2011 3:21 pm

OK thank you for this fast answer.
It is crazy as what is more in a mmorpg we are no information precise on the official site for something so simple. XD
Maybe a Gm know, with luck. ^^
wolf
Little soul
Little soul
 
Posts: 2
Joined: Tue Jul 26, 2011 12:26 pm

Re: Critical strike

Postby PurpleYouko on Tue Jul 26, 2011 4:17 pm

You would have to get the info from a dev rather than a GM

Genesis would know but I doubt zep or cal would.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Critical strike

Postby xadet3 on Wed Jul 27, 2011 1:36 am

http://pastebin.com/0HLA0YZ4

Could possibly be something useful in there (from the client).
xadet3
Pero pero
Pero pero
 
Posts: 727
Joined: Tue Jan 08, 2008 11:51 pm
Location: Norwich, England.

Re: Critical strike

Postby PurpleYouko on Wed Jul 27, 2011 2:05 pm

Thanks xadet

Some interesting formulas related to damage and critical calcs.
This stuff could be useful.

crit success formula. needs to return a value less than 20 for a successful crit.
  1. iCriSuc = (int)( ( (1+RANDOM(100))*3 + pATK->Get_LEVEL() + 30 ) * 16 / (pATK->Get_CRITICAL()+70) );


damage calc on a successful crit.
PVM
  1. iDamage = (int)( pATK->Get_ATK() * ( iSuc*0.05f + 29 ) * ( pATK->Get_ATK() - pDEF->Get_DEF() + 230 ) / ( ( pDEF->Get_DEF()+pDEF->Get_AVOID()*0.3f+5 )*100 ) );

PVP
  1. iDamage = (int)( pATK->Get_ATK() * ( iSuc*0.05f + 35 ) * ( pATK->Get_ATK() - pDEF->Get_DEF() + 430 ) / ( ( pDEF->Get_DEF()+pDEF->Get_AVOID()*0.4f+10)*300 ) + 25 );


Note:
pATK is the attacker and pDEF is the defender
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm


Return to Welcome to the bar

Who is online

Users browsing this forum: No registered users and 1 guest