add target command that will change target using same priority/options logic as curse/multicurse

This commit is contained in:
pepopo978
2025-03-13 09:27:12 -07:00
parent 33a09da6a6
commit 92add222fd
2 changed files with 21 additions and 3 deletions
+3 -1
View File
@@ -19,6 +19,7 @@ L:RegisterTranslations("enUS", function()
["Only choose players and ignore npcs when choosing target for multicurse. Does not affect 'curse' command."] = true,
["/cursive curse <spellName:str>|<guid?:str>|<options?:List<str>>: Casts spell if not already on target/guid"] = true,
["/cursive multicurse <spellName:str>|<priority?:str>|<options?:List<str>>: Picks target based on priority and casts spell if not already on target"] = true,
["/cursive target <spellName:str>|<priority?:str>|<options?:List<str>>: Targets unit based on priority if spell in range and not already on target"] = true,
["Target with the highest HP."] = true,
["Target with the highest raid mark."] = true,
["Target with the highest raid mark with Cross set to -1 and Skull set to -2 (Square highest prio at 6)."] = true,
@@ -195,6 +196,7 @@ L:RegisterTranslations("zhCN", function()
["Only choose players and ignore npcs when choosing target for multicurse. Does not affect 'curse' command."] = "选择多重诅咒目标时只选择玩家,忽略NPC。不影响‘诅咒’命令。",
["/cursive curse <spellName:str>|<guid?:str>|<options?:List<str>>: Casts spell if not already on target/guid"] = "/cursive curse <法术名称>|<目标ID>|<选项列表,用半角逗号分隔>: 如果目标/ID身上没有此法术,目标ID可以是以下内容(mouseover), (player), (pet), (party)(%d), (partypet)(%d), (raid)(%d+), (raidpet)(%d+), (target), (targettarget)",
["/cursive multicurse <spellName:str>|<priority?:str>|<options?:List<str>>: Picks target based on priority and casts spell if not already on target"] = "/cursive multicurse <法术名称>|<优先级>|<选项列表,用半角逗号分隔>: 根据优先级选择目标并施放法术,如果目标上没有",
["/cursive target <spellName:str>|<priority?:str>|<options?:List<str>>: Targets unit based on priority if spell in range and not already on target"] = "/cursive target <法术名称>|<优先级>|<选项列表,用半角逗号分隔>:如果法术在范围内且目标上没有此法术,则根据优先级选择目标",
["Target with the highest HP."] = "选择生命值最高的目标.",
["Target with the highest raid mark."] = "选择团队标记最高的目标.",
["Target with the highest raid mark with Cross set to -1 and Skull set to -2 (Square highest prio at 6)."] = "选择团队标记最高的目标,但是将红叉设为-1,骷髅设为-2(方块标记最高优先级为6).",
@@ -227,7 +229,7 @@ L:RegisterTranslations("zhCN", function()
["Text Size"] = "文本大小",
["Scale"] = "缩放",
["In Combat"] = "战斗中",
["Player"] = "玩家",
["Player"] = "玩家",
["Player Desc"] = "只显示玩家单位",
["Hostile"] = "敌对",
["Attackable"] = "可攻击",