Reference › Condition browser › Spatial

Mana Percentage Within Range

Classic EraTBC AnniversaryClassic progressionForeverRetail
  • Not available on that edition (the reason is in the tooltip)
  • Depends on the setting, your class or another addon (details in the tooltip)

What it does

Checks the lowest, average or highest mana percentage among party or raid members within the distance you set of the unit specified, compared with the percentage you set. If any member counted has no mana bar, it cannot decide either way.

Why you might use it

Take the minimum, average or maximum mana percentage of party or raid members within a distance of a unit, and compare it. Use it for group mana cooldowns, such as a Shaman's Mana Tide Totem or a Priest's Hymn of Hope when the average mana nearby drops below 40%. Not available on Retail or Forever, where the game hides mana values from addons. See also Mana Percentage Count Within Range and Mana Percentage.

Example

The average mana percentage of Party members within 30 yards of you is less than 40%

Settings

What each setting in the condition editor means, from the game's own help.

Unit - The unit this condition uses as the target of comparison.

Operation - Mathematical operation to perform

Minimum - The lowest value

Average - The value that is the sum of all values divided by the number of values

Maximum - The highest value

Operator - How to compare Mana Percentage Within Range with the Mana value. This comparison uses basic mathematical comparison operations.

Mana - The mana percentage the Operation result is compared with: the lowest, average or highest mana of the allies counted, each as a percentage of their total mana.

Distance - The distance (in yards) allies are measured against.

Same Group - Only count units in the same raid group.

Include Pets - Include pets in the count.

Uses readable positions in the same instance, or player-centered range estimates when positions are unavailable. A unit counts only when its upper range bound is within Distance. Uncertain positions, range, subgroup membership or required health/mana values keep the whole condition unavailable, including under Unless. Percentage checks require a positive maximum; empty aggregates have no result.

Helpers its code uses

Identifier
PROXIMITY_MANAPCT
Category
Spatial

Back to Condition browser