WeakAuras

WeakAuras

206M Downloads

WeakAuras.GetMHTenchInfo() with builtin weapon enchanted trigger can not return right result when change zone.

roundzero opened this issue ยท 1 comments

commented

Description

The builtin weapon enchanted trigger can not return right result when player change zone sometimes , it is not stable. Entering or leaving instance for example.

WeakAuras Version

3.7.16-54-g5dee01b

World of Warcraft Flavor

The Burning Crusade

Tested with only WeakAuras

  • Yes
  • No

Lua Error

No response

Reproduction Steps

1 . Create a builtin weapon enchanted trigger .
2. Create custom text %c:
function() if aura_env.state and aura_env.state.enchanted then local _, _, mh_name, _, _, _, mh_EnchantID = WeakAuras.GetMHTenchInfo() if mh_EnchantID or mh_name then print(mh_name) --do stuff end end end
3. It will print the right result mh_name , but when player change zone , leaving or entering instance for example , it will return Unknow sometimes.

Last Good Version

No response

Screenshots

WowClassic_G3lmGunXcR
WowClassic_LeKE4rkXaB
WowClassic_YtTlQpOlF7

Export String

No response

commented

It's an internal function not meant to be use by custom code, you 'r on you own if you don't use information provided by trigger