Difference between revisions of "Block"

From Regisfall Wiki
Jump to: navigation, search
Line 7: Line 7:
 
     chance = 0.20;
 
     chance = 0.20;
  
   if (chance > 0.45)
+
   chance += (defender.Skills.Parry.Value * 0.0040);
  chance = 0.45;
 
  
  chance += (defender.Skills.Parry.Value * 0.0045);
 
  
 
<small>Return: [[Skills]]
 
<small>Return: [[Skills]]

Revision as of 15:27, 19 February 2024

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) / 2500;
 if (chance > 0.20)
   chance = 0.20;
 chance += (defender.Skills.Parry.Value * 0.0040);


Return: Skills