mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge branch 'master' into auras
This commit is contained in:
@@ -173,7 +173,5 @@ void Mob::CalculateNewFearpoint()
|
||||
}
|
||||
if (currently_fleeing)
|
||||
m_FearWalkTarget = glm::vec3(ranx, rany, ranz);
|
||||
else //Break fear
|
||||
BuffFadeByEffect(SE_Fear);
|
||||
}
|
||||
|
||||
|
||||
@@ -3644,7 +3644,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;
|
||||
|
||||
Reference in New Issue
Block a user