Difference between revisions of "Block"

From Regisfall Wiki
Jump to: navigation, search
Line 5: Line 5:
 
   double chance = (defender.Str) / 2500;
 
   double chance = (defender.Str) / 2500;
 
   if (chance > 0.20)
 
   if (chance > 0.20)
    chance = 0.20;
+
    chance = 0.20;
  
 
   chance += (defender.Skills.Parry.Value * 0.0040);
 
   chance += (defender.Skills.Parry.Value * 0.0040);

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