[outdated] IsHardModeStillValid()
IsHardModeStillValid() will return true (or false), if :
- A Unit boss exist
- There is an hard mode available for this unit(s)
- You're in fight or not
- Hardmode is still valid
ex :
Bogdan / Valkyn :
no combat, reading book -> function returns true
no combat, don't read book -> function returns false
Nerienn'eth : Boss is at 20%, when he grabbed the sword, there was only 3 adds up, function returns false.
When reaching 0 health of all bossId, function will still be valid until last boss exists (corpse is present).
Used for veteran dungeons and trials.
There could be something wider like a
SUCCESS_SPEED_RUN = 0, SUCCESS_HARD_MODE = 1, SUCCESS_NO_DEATH = 2
IsSuccessStillValid(successType)
per exemple.
Last edited by Ayantir : 09/20/15 at 09:43 PM.
|