[open] New API functions IsVampire() / GetVampireStage()
Could we please get 2 new API functions. The Wererwolf functions already exist some years but for vampirism we got nothing.
Code:
IsVampire() -> Return boolean true/false |
This is from VampRemind.lua which is one of the files in my Reminderz addon:
Code:
-- VampireStageType |
Thanks, have something similar in LibVampire I think, but have not updated it for a long while now ;)
Hint You can easeand speed-up such ifs Code:
if (abilityId == VAMPIRE_STAGE_1) or (abilityId == VAMPIRE_STAGE_2) or (abilityId == VAMPIRE_STAGE_3) or (abilityId == VAMPIRE_STAGE_4) then Lua Code:
|
All times are GMT -6. The time now is 05:05 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI