mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2026-11-05 22:37:04 +08:00
修正:防御中不执行光阴神净化
This commit is contained in:
1 parent
85389bbc72
commit
71acc6f5a2
1 file changed
+4
-2
+4
-2
@@ -22,13 +22,13 @@ using FFXIVClientStructs.FFXIV.Client.Game.UI;
|
||||
namespace PVPToy;
|
||||
|
||||
[ScriptType(guid: "2312052e-6575-4a91-9e3d-b84699dca8fe", name: "PVP小玩具", territorys: [250, 431, 554, 888, 1273, 1313],
|
||||
version: "0.0.0.7", author: "Tetora", note: noteStr)]
|
||||
version: "0.0.0.8", author: "Tetora", note: noteStr)]
|
||||
|
||||
public class PVPToy
|
||||
{
|
||||
const string noteStr =
|
||||
"""
|
||||
v0.0.0.7:
|
||||
v0.0.0.8:
|
||||
PVP小玩具,仅纷争前线可用,可在狼狱进行测试
|
||||
推荐先自行过一遍设置关闭不需要的功能,底裤功能使用后果自行承担
|
||||
标记一般是防四小,所以启用仅标记选项的话就是防四小的播报
|
||||
@@ -483,6 +483,7 @@ public class PVPToy
|
||||
if (isAutoWarden)
|
||||
{
|
||||
if (@event.TargetId() != accessory.Data.Me) return;
|
||||
if (IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xBEE)) return; // 防御中不净化
|
||||
if (ActionExt.IsSpellReady(29400) && !IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xC47)) // 检测对应技能是否在CD
|
||||
{
|
||||
if (isText) accessory.Method.TextInfo("已尝试自动使用《光阴神净化》", duration: 1800, true);
|
||||
@@ -508,6 +509,7 @@ public class PVPToy
|
||||
if (isAutoWarden)
|
||||
{
|
||||
if (@event.TargetId() != accessory.Data.Me) return;
|
||||
if (IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xBEE)) return; // 防御中不净化
|
||||
if (ActionExt.IsSpellReady(29400) && !IbcHelper.HasStatus(accessory, accessory.Data.MyObject, 0xC47)) // 检测对应技能是否在CD
|
||||
{
|
||||
if (isText) accessory.Method.TextInfo("已尝试自动使用《光阴神净化》", duration: 1800, true);
|
||||
|
||||
Reference in new issue
Block a user