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

Commit

Permalink
fix: add cross bar highlighting..
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 28, 2023
1 parent 696de82 commit 89d313b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions RotationSolver/Localization/Localization.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@
"Configwindow_Param_MoveTowardsScreenDesc": "Using movement actions towards the object in the center of the screen, otherwise toward the facing object.",
"Configwindow_Param_RaiseAll": "Raise all (include passerby)",
"Configwindow_Param_RaiseBrinkofDeath": "Raise player even has Brink of Death",
"Configwindow_Param_MoveAreaAbilityMustUse": "Must use the Moving Area Ability",
"Configwindow_Param_MoveAreaAbilityMustUseDesc": "If no character can be moved, move to the furthest position from character's face direction.",
"Configwindow_Param_Hostile": "Hostile",
"Configwindow_Param_HostileDesc": "You can set the logic of hostile target selection to allow flexibility in switching the logic of selecting hostile in battle.",
"Configwindow_Param_AddHostileCondition": "Add selection condition",
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/PreviewUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ private unsafe static bool IsActionSlotRight(ActionBarSlot* slot, HotBarSlot* ho
"_ActionBar07",
"_ActionBar08",
"_ActionBar09",
"_ActionCross",
};
unsafe delegate bool ActionBarAction(ActionBarSlot* bar, HotBarSlot* hot, uint highLightID);
unsafe delegate bool ActionBarPredicate(ActionBarSlot* bar, HotBarSlot* hot);
Expand All @@ -137,7 +138,6 @@ private static unsafe void LoopAllSlotBar(ActionBarAction doingSomething)
if (doingSomething(actionBarSlot, hotBarSlot, highLightId))
{
actBar->PulseActionBarSlot(slotIndex);
//键盘按下效果音效
UIModule.PlaySound(12, 0, 0, 0);
return;
}
Expand Down

0 comments on commit 89d313b

Please sign in to comment.