Difference between revisions of "Block"

From Regisfall Wiki
Jump to: navigation, search
Line 1: Line 1:
 
Strap on a shield and be prepared to get hit! Successfully blocking will deflect some damage you would've otherwise taken.
 
Strap on a shield and be prepared to get hit! Successfully blocking will deflect some damage you would've otherwise taken.
  
 +
Formula:
  
 +
double chance = (defender.Str) / 550;
 +
 +
if (chance > 0.45)
 +
  chance = 0.45;
 +
 +
chance += (defender.Skills.Parry.Value * 0.0045);
  
 
<small>Return: [[Skills]]
 
<small>Return: [[Skills]]

Revision as of 15:49, 21 June 2022

Strap on a shield and be prepared to get hit! Successfully blocking will deflect some damage you would've otherwise taken.

Formula:

double chance = (defender.Str) / 550;

if (chance > 0.45)

 chance = 0.45;

chance += (defender.Skills.Parry.Value * 0.0045);

Return: Skills