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

Commit

Permalink
fix: target area action.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Nov 6, 2023
1 parent d014aeb commit dcc8870
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion RotationSolver.Basic/Helpers/MarkingHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ internal class MarkingHelper
{
private unsafe static long GetMarker(uint index) => MarkingController.Instance()->MarkerArray[index];


internal static bool HaveAttackChara(IEnumerable<BattleChara> charas) => GetAttackMarkChara(charas) != null;

internal static BattleChara GetAttackMarkChara(IEnumerable<BattleChara> charas)
Expand Down
1 change: 1 addition & 0 deletions RotationSolver/Commands/RSCommands_Actions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public static void DoAction()
}

if (nextAction is BaseAction act1 && act1.IsPvP && !act1.IsFriendly
&& !act1.IsTargetArea
&& act1.Target is PlayerCharacter p/* && p != Player.Object*/)
{
var hash = SocialUpdater.EncryptString(p);
Expand Down
1 change: 1 addition & 0 deletions RotationSolver/Localization/Localization.json
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@
"ConfigWindow_Auto_OnlyHealSelfWhenNoHealer": "Only Heal self When Not a healer",
"ConfigWindow_Auto_HealthForAutoDefense": "HP Ratio about defense single of Tanks",
"ConfigWindow_Basic_SayHelloToUsers": "Say hello to the users of Rotation Solver.",
"ConfigWindow_Basic_SayHelloToAll": "Say hello to all users of Rotation Solver.",
"ConfigWindow_Basic_SayHelloToUsersDesc": "It can only be disabled for users, not authors and contributors.\nIf you want to be greeted by other users, please DM ArchiTed in Discord Server with your Hash!",
"ConfigWindow_Basic_JustSayHelloOnce": "Just say hello once to the same user.",
"ConfigWindow_About_Clicking100k": "Well, you must be a lazy player!",
Expand Down
2 changes: 1 addition & 1 deletion RotationSolver/Updaters/SocialUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ internal static async void UpdateSocial()
private static readonly ChatEntityComparer _comparer = new();
private static async void SayHelloToUsers()
{
if (!Service.Config.GetValue(PluginConfigBool.SayHelloToUsers))
if (!Service.Config.GetValue(PluginConfigBool.SayHelloToAll))
{
return;
}
Expand Down

0 comments on commit dcc8870

Please sign in to comment.