Critical Strike
How it Works
In response to an ongoing discussion on the official Realm Message Boards regarding whether or not there was a bug in the Grandmaster Critical Strike skill, Stephen explained how Critical Strike works. His comments have been copied here for use as a reference.
I've been seeing a bit of contention as to if the GM Critical Strike skill is broken or not. I've been all over the server code to see if there are any problems to be had. I found none. Here's how the critical strike system works...
1. A critical strike can only occur if you actually hit an opponent without hitting its armor. This is important to know because you can still cause damage through hitting armor although you will never get a critical strike for doing so.
2. To determine if you made a critical strike we use an opposed roll system. This means that the system picks two random numbers (one for the attacker's chance to get a strike and one for the defender's chance to avoid a strike) and the one with the highest value wins the contest. If the attacker wins the critical strike is made, otherwise there is no critical strike. The following formulas are used for the attacker and defender skills in this opposed roll:
Attacker Formula
attackerRoll = max ( attackerCriticalStrikeSkill * 5, 1 )
Defender Formulas
if ( defender is out of dodges ) then defenderSkill = 0
otherwise defenderSkill = defenderAcrobaticsSkill * 10
if ( defenderDex < 10 ) then reduce defenderSkill by 5% for each point under 10
if ( defenderDex > 10 ) then increase defenderSkill by 5% for each point over 10
defenderRoll = defenderDexterity defenderSkill
Results
The attackerRoll and defenderRoll are then opposed to one another to see if the critical strike is landed or not. There is nothing special about the GM case here... it has a higher chance of getting critical strikes. Of course, the formula makes if much less likely to get a critical strike vs. an opponent with high dexterity.
This is what I've found... And short of copying the code for you to see, I can't expose the rules further.
- Steve
http://www.realmoracle.com/skills.htm
Comments and feedback:
Webmaster
©The Realm and related graphics are the property of Norseman Games LLC, Inc.
©website and all maps contained therein copyright 1998-2005 by TheOracle and HyJinks.