Yield xp/honor
Are there any API calls that can tell you if the killed target yielded xp/honor? Also, is there anyway to check if you have the 'tag' on a target you kill?
Currently the only way I can think of doing it is checking the targets level. In the case of honor checking level and if guid includes player. |
There is : UnitIsTapDenied(..)
I would assume you pass the unit in question and it will return whether it has been tapped, or maybe tap info as to why it is denied. But I could see nothing else that appear to work after it is tapped. The honor/xp values you may have to go via the Combat Log event tracking. But you could use UnitIsTrivial(unit) to check if you will get something however little. |
Regarding gaining xp couldnt you do:
Code:
... something similar but due to blizzards honor calculation a little bit more complicated for honor aswell... |
All times are GMT -6. The time now is 03:07 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI