找回密码
 立即注册

手机短信,快捷登录

搜索

Ulduar - Hodir - Flash Freeze Nameplate Class Icons (Alliance)

[复制链接]
 楼主| 发表于 2023-6-11 17:27:09 | 显示全部楼层 |阅读模式
Shows class icons (of the NPC inside the Flash Freeze) on Flash Freeze enemy nameplate. During Flash Freeze, this should make it quicker to find the location of specific NPCs since the raid markers on the actual NPCs might be hidden under nameplates. Or maybe this will be useless since everything will be stacked and we just AoE.

Configuration:
- Select which NPCs the weakaura should show/hide under "Custom Options"
- Apply custom conditions based on the NPC class or for each individual NPC by name under "Conditions"

Note for Horde (*** DOES NOT WORK FOR HORDE ***):
I don't play horde. If you're wanting to mod the weakaura, I'd imagine you just need to change the NPC IDs and names in the "Init" code under "Action" tab (variables: "aura_env.tbl_npcid_highlight" and "aura_env.tbl_flashfreeze_prespawnid_to_npcid", and Custom Options tab). Feel free to re-upload your own version.

Note for non-English clients:
This weakaura is only "loaded" in the "The Halls of Winter" subzone (the zone text above the minimap). This is set in Custom Options, so change it to your language equivalent. Not sure if there's subzone IDs that I could use to avoid this client language issu. I do it this way because I wanted the weakaura loaded outside of the encounter pre-pull, but also didn't want it using too much cpu outside of Hodir's area. WeakAuras doesn't have a subzone load condition as far as I know?

---------------------------------------------------

How does it work?
Basic idea is to:
- Retrieve Flash Freeze GUID from the enemy nameplate
- Extract Spawn ID (i.e. Spawn Order) from GUID
- Match the Flash Freeze to the correct friendly NPC using the Spawn ID and [observed pattern or debuff data]

There are two different enemy Flash Freeze NPCs:
- https://www.wowhead.com/wotlk/npc=32938/flash-freeze
   32938 are Flash Freezes that spawn pre-pull
- https://www.wowhead.com/wotlk/npc=32926/flash-freeze
   32926 are Flash Freezes that spawn during combat

For pre-pull Flash Freeze NPCs (32938):
The Flash Freeze NPCs appear to spawn all at once (i.e. the same timestamp) on the friendly NPCs in the same order almost every time. Since the Flash Freeze NPCs (32938) all spawn at the same timestamp, you can use the spawn ID (extracted from the GUID) to determine the order in which they spawned.
The Flash Freeze NPC (32938) with Spawn ID 1 always appeared to go on Ellie Nightfeather (Druid). Spawn ID 2 with Missy Flamecuffs (Mage). And so on... This order is hard-coded into the weakaura based on this observational pattern. Sometimes it's wrong and the names are swapped inter-class, but I've never seen the class incorrect so far.

For combat Flash Freeze NPCs (32926):
When the NPCs are frozen, they receive a debuff Flash Freeze ( https://www.wowhead.com/wotlk/spell=61969/flash-freeze ). The order in which these NPCs receive the debuff is the same order in which the Flash Freeze NPCs (32926) spawn on them. So the first NPC to receive Flash Freeze debuff corresponds to Flash Freeze NPC with Spawn ID 1. Second NPC to receive debuff corresponds to Flash Freeze NPC with Spawn ID 2. And so on...

For more information about Spawn IDs and GUIDs:
https://wowpedia.fandom.com/wiki/GUID#Spawn_UIDs
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|魔兽世界玩家社区APP官网 ( 鄂ICP备20007009号-6 )

GMT+8, 2025-3-15 17:32 , Processed in 0.341728 second(s), 27 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表