ROSTER¶
roster¶
- This fake unit retrieves the list of units in the roster.
Returns TABLE¶
- Returns a table indexed by GUID, containing the friendly units.
Example:¶
lowest¶
- This fake unit retrieves the lowest health unit in the roster, optionally filtered by role.
Parameters¶
STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest health roster.
Example:¶
lowestRange¶
- This fake unit retrieves the lowest health unit in the roster within a specified range.
Parameters¶
NUMBER: The maximum range to consider for the units.
Returns guid/key¶
- Returns the lowest health roster within a specified range.
Example:¶
lowestPet¶
- This fake unit retrieves the lowest health non-player unit (pet) in the roster.
Returns guid/key¶
- Returns the lowest unit (pet) in the roster.
Example:¶
lowestpredicted | lowestp¶
- This fake unit retrieves the lowest predicted health unit in the roster, optionally filtered by role.
Parameters¶
STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest predicted health roster.
Example:¶
lowestbuff | lbuff¶
- This fake unit retrieves the lowest health unit in the roster who has a specific buff, optionally filtered by role.
Parameters¶
STRING: The name of the buff to check for.STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest health roster who has the specific buff.
Example:¶
lowestnotbuff | lnbuff¶
- This fake unit retrieves the lowest health unit in the roster who does not have a specific buff, optionally filtered by role.
Parameters¶
STRING: The name of the buff to check for absence.STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest health roster who does not have the specific buff.
Example:¶
lowestdebuff | ldebuff¶
- This fake unit retrieves the lowest health unit in the roster who has a specific debuff, optionally filtered by role.
Parameters¶
STRING: The name of the debuff to check for.STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest health roster who has the specific debuff.
Example:¶
lowestnotdebuff | lndebuff¶
- This fake unit retrieves the lowest health unit in the roster who does not have a specific debuff, optionally filtered by role.
Parameters¶
STRING: The name of the debuff to check for absence.STRING(Optional): The role to filter by.
Returns guid/key¶
- Returns the lowest health roster who does not have the specific debuff.
Example:¶
lowestDebuffType | ldebufft¶
- This fake unit retrieves the lowest health unit in the roster who has a specific debuff type.
Parameters¶
STRING: The name of the debuff type to check for.
Returns guid/key¶
- Returns the lowest health roster who has the specific debuff type.
Example:¶
tank¶
- This fake unit retrieves the tank in the roster based on a priority calculated using the maximum health and role multiplier.
Returns guid/key¶
- Returns the tank roster.
Example:¶
healer¶
- This fake unit retrieves the healer in the roster based on a priority calculated using the current health.
Returns guid/key¶
- Returns the healer roster.
Example:¶
damager¶
- This fake unit retrieves the damager in the roster based on a priority calculated using the current health.
Returns guid/key¶
- Returns the damager roster.
Example:¶
mostTargetedRoster¶
- This fake unit retrieves the unit in the roster that is most targeted by enemies.
Returns guid/key¶
- Returns the most targeted unit.
Example:¶
heal_dist_radius_min_avghp¶
- This fake unit finds the unit in the roster with the highest number of nearby allies within a certain distance radius and an average health percentage below a specified threshold.
Parameters¶
NUMBER: The distance to check for.NUMBER: The radius to check for.NUMBER: The minimum group size.NUMBER: The average health in % to check for.NUMBER(optional, default: 100): The individual health threshold for players to be considered for healing.
Returns guid/key¶
- The unit with the most nearby members and whose average health is the lowest percentage.
Example:¶
-
Assumes threshold of 100
If you want to specify the individual health threshold, use this:
- 90 Threshold