ENEMY COMBAT¶
enemiesCombat¶
- This fakeunit retrieves a list of enemies that are in combat with the roster.
Returns TABLE¶
- Returns a table indexed by GUID, containing the enemy units in combat with the roster.
Example:¶
lowestenemy | loweste | le¶
- This fakeunit retrieves the lowest health enemy in combat with the roster.
Returns guid/key¶
- Returns the lowest health enemy in combat with the roster.
Example:¶
enemybuff | ebuff¶
- This fakeunit retrieves an enemy in combat with the roster that has a specific buff.
Parameters¶
STRING/NUMBER: The name or id of the buff to check for.
Returns guid/key¶
- Returns the guid/key of the specified enemy in combat with the given buff.
Example:¶
enemynbuff | enbuff¶
- This fakeunit retrieves an enemy in combat with the roster that does not have a specific buff.
Parameters¶
STRING/NUMBER: The name or id of the buff to check for absence.
Returns guid/key¶
- Returns the guid/key of the specified enemy in combat without the given buff.
Example:¶
enemyDebuff | edebuff¶
- This fakeunit retrieves an enemy in combat with the roster that has a specific player debuff.
Parameters¶
STRING/NUMBER: The name or id of the player debuff to check for.
Returns guid/key¶
- Returns the guid/key of the specified enemy in combat with the given player debuff.
Example:¶
enemyNotDebuff | endebuff¶
- This fakeunit retrieves an enemy in combat with the roster that does not have a specific player debuff.
Parameters¶
STRING/NUMBER: The name or id of the player debuff to check for absence.
Returns guid/key¶
- Returns the guid/key of the specified enemy in combat without the given player debuff.
Example:¶
nearEnemyCb¶
- This fakeunit retrieves the nearest enemy in combat with the roster who is also in front.
Returns guid/key¶
- Returns the nearest enemy in combat with the roster who is also in front.
Example:¶
enemyCombatID¶
- This fakeunit finds enemies in combat with the roster based on their ids.
Parameters¶
NUMBER: The id of the enemy to search for.
Returns guid/key¶
- Returns the enemy in combat with the roster with the specified id that is closest in distance.
Example:¶
bestCandidateForAggro¶
- This fakeunit finds the best candidate for casting a specific aggro-inducing spell, based on the threat percentage.
Parameters¶
STRING: The aggro-inducing spell to check.
Returns guid/key¶
- Returns the best candidate for casting the specified aggro-inducing spell, based on the threat percentage.
Example:¶
melee¶
- This fake unit retrieves enemy units within melee combat range.
Parameters¶
NUM: The index of the enemy to retrieve (e.g.,1for first,2for second, etc.).
Returns guid/key¶
- Returns the enemy unit within melee range at the specified index.
Example:¶
caster¶
- This fake unit retrieves enemy caster units (ranged enemies).
Parameters¶
NUM: The index of the caster to retrieve (e.g.,1for first,2for second, etc.).
Returns guid/key¶
- Returns the enemy caster unit at the specified index.