Add logging for flee

This commit is contained in:
Akkadius
2020-01-03 17:23:51 -06:00
parent 3a10131a00
commit 9dda9098a0
4 changed files with 69 additions and 29 deletions
+3 -4
View File
@@ -4011,10 +4011,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
break;
}
case SE_ImmuneFleeing:
{
if(RuleB(Combat, EnableFearPathing)){
if(flee_mode) {
case SE_ImmuneFleeing: {
if (RuleB(Combat, EnableFearPathing)) {
if (flee_mode) {
currently_fleeing = true;
CheckFlee();
break;