From 3b4ff8bed18f71ec3168454f546abee28a2fb700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Tue, 31 Jan 2023 16:20:31 +0800 Subject: [PATCH] fix: change method name from BurstItem to Tincture. --- ...stomRotation_BurstItems.cs => CustomRotation_Tinctures.cs} | 2 +- RotationSolver/Rotations/Melee/NIN/NIN_Default.cs | 2 +- docs/RotationDev/customization.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename RotationSolver/Rotations/CustomRotation/{CustomRotation_BurstItems.cs => CustomRotation_Tinctures.cs} (96%) diff --git a/RotationSolver/Rotations/CustomRotation/CustomRotation_BurstItems.cs b/RotationSolver/Rotations/CustomRotation/CustomRotation_Tinctures.cs similarity index 96% rename from RotationSolver/Rotations/CustomRotation/CustomRotation_BurstItems.cs rename to RotationSolver/Rotations/CustomRotation/CustomRotation_Tinctures.cs index 94c0f6bf8..21d7b4fd8 100644 --- a/RotationSolver/Rotations/CustomRotation/CustomRotation_BurstItems.cs +++ b/RotationSolver/Rotations/CustomRotation/CustomRotation_Tinctures.cs @@ -15,7 +15,7 @@ private static readonly IBaseItem //意力 TinctureofIntelligence6 = new BaseItem(36112, 65535); - protected bool UseBurstItem(out IAction act) + protected bool UseTincture(out IAction act) { act = null; diff --git a/RotationSolver/Rotations/Melee/NIN/NIN_Default.cs b/RotationSolver/Rotations/Melee/NIN/NIN_Default.cs index c504047e6..ba9bf8db7 100644 --- a/RotationSolver/Rotations/Melee/NIN/NIN_Default.cs +++ b/RotationSolver/Rotations/Melee/NIN/NIN_Default.cs @@ -317,7 +317,7 @@ private protected override bool AttackAbility(byte abilitiesRemaining, out IActi if (!IsMoving && TenChiJin.CanUse(out act)) return true; if (Kassatsu.CanUse(out act)) return true; - if (UseBurstItem(out act)) return true; + if (UseTincture(out act)) return true; if (Bunshin.CanUse(out act)) return true; if (HellfrogMedium.CanUse(out act)) return true; diff --git a/docs/RotationDev/customization.md b/docs/RotationDev/customization.md index 72ce9f851..79bdafcc6 100644 --- a/docs/RotationDev/customization.md +++ b/docs/RotationDev/customization.md @@ -101,6 +101,6 @@ If you want your UI and description to support multiple languages, Add your cust -## BurstItem +## Tincture -You can use burst item when you call `UseBurstItem` method in rotation. It will only be used in full party at level 90. \ No newline at end of file +You can use tincture when you call `UseTincture` method in rotation. It will only be used in full party at level 90. \ No newline at end of file