WoW:API UnitReaction: Difference between revisions
Jump to navigation
Jump to search
m
Move page script moved page API UnitReaction to WoW:API UnitReaction without leaving a redirect
m (→Notes: OK, turns out it's always 1 for A-H) |
m (Move page script moved page API UnitReaction to WoW:API UnitReaction without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 23: | Line 23: | ||
* When you're Horde, the reaction of Alliance NPCs to you and your pet is 1<!-- Tested with Silver Covenant NPCs in Dalaran. -->. The same is true of Horde NPCs if you're Alliance. | * When you're Horde, the reaction of Alliance NPCs to you and your pet is 1<!-- Tested with Silver Covenant NPCs in Dalaran. -->. The same is true of Horde NPCs if you're Alliance. | ||
* This doesn't change when a mob becomes aggressive towards a player. I ad to use the negative result of [[API UnitIsFriend]]. | * This doesn't change when a mob becomes aggressive towards a player. I ad to use the negative result of [[API UnitIsFriend]]. | ||
* Does not work across continents (or zones?)! If you query UnitReaction for a raid (or party)-member across continents, it | * Does not work across continents (or zones?)! If you query UnitReaction for a raid (or party)-member across continents, it will return nil. I think it only returns correct values for units that are in 'inspect-range'. | ||
* In Blizzard Code, UnitReaction is only used between the player and a Non Player Controlled target. | * In Blizzard Code, UnitReaction is only used between the player and a Non Player Controlled target. | ||