Repair fear pathing to ignore Z aspects and allow FixZ and pathing to handle

it.

Added the true flag for ResistCheck.Charisma so the proper Charisma bonuses
are applied.
This commit is contained in:
Paul Coene
2017-07-21 14:56:51 -04:00
parent 159fb62898
commit aa8a2ea41b
2 changed files with 8 additions and 24 deletions
+1 -1
View File
@@ -3640,7 +3640,7 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
case SE_Fear: {
if (zone->random.Roll(RuleI(Spells, FearBreakCheckChance))) {
float resist_check = ResistSpell(spells[buff.spellid].resisttype, buff.spellid, caster);
float resist_check = ResistSpell(spells[buff.spellid].resisttype, buff.spellid, caster,0,0,true);
if (resist_check == 100)
break;