Skip to content

Commit

Permalink
remove castanimlock from rp cast time
Browse files Browse the repository at this point in the history
  • Loading branch information
xanunderscore committed Feb 24, 2025
1 parent 9babd64 commit ace840e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BossMod/QuestBattle/UnmanagedRotation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected void UseAction(ActionID action, Actor? target, float additionalPriorit
var def = ActionDefinitions.Instance[action];
if (def == null)
return;
Hints.ActionsToExecute.Push(action, target, ActionQueue.Priority.High + additionalPriority, castTime: def.CastTime + def.CastAnimLock - 0.5f, targetPos: targetPos); // TODO[cast-time]-xan: review, doesn't look right...
Hints.ActionsToExecute.Push(action, target, ActionQueue.Priority.High + additionalPriority, castTime: def.CastTime - 0.5f, targetPos: targetPos); // TODO[cast-time]-xan: review, doesn't look right...
}

protected float StatusDuration(DateTime expireAt) => Math.Max((float)(expireAt - World.CurrentTime).TotalSeconds, 0.0f);
Expand Down

0 comments on commit ace840e

Please sign in to comment.