Added fear mechanic.

This commit is contained in:
2025-08-17 17:14:17 -05:00
parent cdf6465f60
commit b944847b8a
16 changed files with 190 additions and 11 deletions
@@ -433,6 +433,11 @@ public enum CombatManager {
if (bonus != null && bonus.getBool(ModType.Stunned, SourceType.None))
attackFailure = true;
//see if attacker is feared. If so, stop here
if (bonus != null && bonus.getBool(ModType.Fear, SourceType.None))
attackFailure = true;
//Get Range of weapon
float range;