Skip to content

ContextualConditionAnyOtherHero

Inheritance 1 ancestor · 62 siblings

Class Documentation

Edit documentation

A condition that passes when at least one other champion passes every character subcondition in mChildConditions.

The client walks all champions in the game, skips the unit that the situation belongs to, and evaluates the subconditions on each champion in turn. The condition passes at the first champion for which every subcondition passes.

  • If mChildConditions is empty, the condition passes when the game has any other champion.
  • If the game has no other champion, the condition fails.

The walk does not filter by team and does not skip dead champions. A rule that needs an enemy or a living champion must test it with a subcondition.

Properties

mChildConditions

List<ICharacterSubcondition> = []
Edit documentation

The subconditions that one champion must pass, all of them. The test of a champion stops at the first subcondition that fails.