Thread Tools Display Modes
Prev Previous Post   Next Post Next
09/20/15, 09:30 PM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
[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.
 
 

ESOUI » Developer Discussions » Wish List » [outdated] IsHardModeStillValid()


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off