Player Health

Information how to write rotations, how specific functions work
2 posts Page 1 of 1
zenicity
Posts: 1
Joined: 25 Jan 2018, 20:03


Is there a function in the API to get the player's health? I see one for player mana, but don't see anything regarding player health.
Kaminaris
Site Admin
Posts: 73
Joined: 25 Jun 2017, 03:45


Because they are usually not needed for rotation unless you want to somehow include defensive cooldowns. Anyways you can use wow api to do that:
http://wowwiki.wikia.com/wiki/API_UnitHealth
http://wowwiki.wikia.com/wiki/API_UnitHealthMax

as unit use
Code: Select all
'player'
2 posts Page 1 of 1
drogie łóżka stolik kawowy stół dębowy rozkładany