Difference between revisions of "Block"

From Regisfall Wiki
Jump to: navigation, search
(Created page with "Being able to dodge the physical attacks of your enemies is one of the most desirable abilities for adventurers of all kinds. A successful dodge completely eliminates any dama...")
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Being able to dodge the physical attacks of your enemies is one of the most desirable abilities for adventurers of all kinds. A successful dodge completely eliminates any damage what would have otherwise been taken.
+
Strap on a shield and be prepared to get hit! Successfully blocking will reduce some damage you would've otherwise taken.
  
You must have at least 50% stamina to dodge.
 
  
Base chance = (Skill / 100) * .5
+
'''Chance to block:'''
  
Stamina Ratio = Current Stamina / Max Stamina
+
  double chance = (defender.Str) / 2500;
 +
  if (chance > 0.20)
 +
    chance = 0.20;
 +
  chance += (defender.Skills.Parry.Value * 0.0045);
  
Fatigue = Count * .3 --- Fatigue gains a count on a successful dodge, but diminishes within a few seconds.
+
'''Damage reduction modifier:'''
  
Formula: (Base Chance * Stamina Ratio) - Fatigue
+
  double parrymodifier = 0.95;
 +
  double reduce = (defender.Skills.Parry.Value * 0.0015);
 +
  if (reduce > 0.25)
 +
    reduce = 0.25;
 +
  parrymodifier -= reduce;
 +
  double newdamage = (damage * parrymodifier);
 +
 
 +
 
 +
 
 +
<small>Return: [[Skills]]

Latest revision as of 17:22, 19 February 2024

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


Chance to block:

 double chance = (defender.Str) / 2500;
 if (chance > 0.20)
    chance = 0.20;
 chance += (defender.Skills.Parry.Value * 0.0045);

Damage reduction modifier:

 double parrymodifier = 0.95;
 double reduce = (defender.Skills.Parry.Value * 0.0015);
 if (reduce > 0.25)
    reduce = 0.25;
 parrymodifier -= reduce;
 double newdamage = (damage * parrymodifier);


Return: Skills