Add logging for cutscene and health increased detection
This commit is contained in:
parent
e1f4f4406e
commit
272c41773c
|
@ -77,13 +77,18 @@ namespace DalamudShock
|
|||
|
||||
if (player == null || Condition[ConditionFlag.WatchingCutscene] == true ||
|
||||
Condition[ConditionFlag.BetweenAreas] == true ||
|
||||
Condition[ConditionFlag.WatchingCutscene78] == true) return;
|
||||
Condition[ConditionFlag.WatchingCutscene78] == true)
|
||||
{
|
||||
// PluginLog.Information("Player is in cutscene or teleporting");
|
||||
return;
|
||||
}
|
||||
|
||||
var currentHealth = player.CurrentHp;
|
||||
|
||||
if (currentHealth >= lastHealth)
|
||||
{
|
||||
lastHealth = currentHealth;
|
||||
// PluginLog.Information("Player health didn't decrease.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue