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

Commit

Permalink
fix: feedback fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jul 30, 2024
1 parent 8df3f6b commit 551925e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 2 additions & 6 deletions ActionTimelineEx/Helpers/RotationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,17 @@ private static void ActionFromSelf(ActionEffectSet set)

if (IsIgnored(set)) return;

ActionSetting? nextAction;
if (IsGcd(set))
{
nextAction = oGcdUsedCount == 0 ? RotationSetting.GetNextAction(GcdUsedCount, 0)
: RotationSetting.GetNextAction(GcdUsedCount + 1, 0);

oGcdUsedCount = 0;
GcdUsedCount++;
}
else
{
nextAction = RotationSetting.GetNextAction(GcdUsedCount, oGcdUsedCount);
oGcdUsedCount++;
}

var nextAction = RotationSetting.GetNextAction(GcdUsedCount, oGcdUsedCount);
if (nextAction == null) return;

if (nextAction.IsMatched(actionId, actionSettingType))
Expand All @@ -135,7 +131,7 @@ private static void ActionFromSelf(ActionEffectSet set)
}
else if(Plugin.Settings.ShowWrongClick)
{
Svc.Chat.PrintError($"Clicked the wrong action {set.Name}! You should Click {nextAction.DisplayName}!");
Svc.Chat.PrintError($"Clicked the wrong action {set.Name} ({set.Header.ActionID})! You should Click {nextAction.DisplayName} ({nextAction.ActionID})!");
}
}

Expand Down
4 changes: 0 additions & 4 deletions ActionTimelineEx/Localization/Localization.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@
"ActionTimelineEx.Configurations.ActionSettingType.Action": "Action",
"ActionTimelineEx.Configurations.ActionSettingType.Item": "Item",
"ActionTimelineEx.Configurations.ActionSettingName.IsLast": "Is the Last Ability during GCD",
"ActionTimelineEx.Configurations.ActionSettingDescription": "Heavy Swing (GCD)",
"ActionTimelineEx.Configurations.SettingsName.Reverse": "Reverse Draw",
"ActionTimelineEx.Configurations.SettingsName.OnlyShowRotationWhenWeaponOn": "Only Show when Weapon On",
"ActionTimelineEx.Configurations.SettingsName.RotationFailedColor": "Rotation Failed Color",
Expand All @@ -154,13 +153,10 @@
"ActionTimelineEx.Helpers.ActionType.SystemAction": "SystemAction",
"ActionTimelineEx.Helpers.ActionType.LimitBreak": "LimitBreak",
"ActionTimelineEx.Helpers.ActionType.DutyAction": "DutyAction",
"ActionTimelineEx.Configurations.Actions.GCDActionDescription": "Fell Cleave (GCD)",
"ActionTimelineEx.Configurations.Actions.oGCDActionName.ActionType": "Type",
"ActionTimelineEx.Configurations.Actions.ActionSettingType.Action": "Action",
"ActionTimelineEx.Configurations.Actions.ActionSettingType.Item": "Item",
"ActionTimelineEx.Configurations.Actions.oGCDActionDescription": "Inner Release (oGCD)",
"ActionTimelineEx.Configurations.Actions.ActionSetting": "ActionSetting",
"ActionTimelineEx.Configurations.Actions.ActionSettingDescription": "Rage of Halone (GCD)",
"ActionTimelineEx.Configurations.Actions.ActionSettingName.ActionID": "Action ID",
"ActionTimelineEx.Configurations.Actions.GCDActionName.RecastOverride": "Recast override time",
"ActionTimelineEx.Configurations.SettingsName.GcdTime": "Gcd Time",
Expand Down

0 comments on commit 551925e

Please sign in to comment.