Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: only record casting action.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Apr 30, 2023
1 parent b1096a8 commit a34416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RotationSolver/Watcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static void ActionFromEnemy(uint sourceId, ActionEffectSet set)
DataCenter.AddDamageRec(damageRatio);
ShowStrEnemy = $"Damage Ratio: {damageRatio}\n{set}";

if(set.Type == ActionType.Spell && DataCenter.PartyMembers.Count() >= 4)
if(set.Type == ActionType.Spell && DataCenter.PartyMembers.Count() >= 4 && set.Action.Cast100ms > 0)
{
var type = set.Action.GetActionType();

Expand Down

0 comments on commit a34416c

Please sign in to comment.