Skip to main content

Redirector

A Redirector is the base class for components that redirect incoming Effects during processing.

Redirectors are executed by Processors and define how an Effect is redirected, including its target Actors, source Actor, conditions, and additional redirection settings.

Power provides the following Redirector types:

  • Redirector
  • Reflector
  • Counter Effect

Redirector Signature

The Redirector Signature defines the common configuration shared by all Redirector types.

...

Fields

FieldDescription
Redirect TargetDetermines which Actor or Actors receive the redirected Effect. See Redirect Targets below.
Relate ToSpecifies which Interaction Actor is used when Redirect Target is set to Relation State.
Relate To Custom ActorDefines the custom Actor when Relate To is set to Custom.
Target RelationSpecifies which Relation is used to obtain the redirected target Actors.
Team FlagsDefines the target teams using bitwise team flags.
Custom TargeterDefines a custom target selection model.
Targeting FilterFilters Actors selected through multi-targeting methods such as Relation State or Team Flags.
Target Actor StatDefines the Actor Stat used when Redirect Target is set to Actor Stat.
Redirected Source AsDetermines which Actor becomes the Source of the redirected Effect.
Custom Redirector SourceDefines a custom source provider.
Redirector Actor Stat FromDetermines which Actor provides the Actor Stat when Redirected Source As is set to Actor Stat.
Custom Actor For Actor StatDefines the custom Actor when Redirector Actor Stat From is set to Custom.
Redirector Actor Stat KeyThe Stat Key used to retrieve the Actor Stat.
State CheckEnables conditional redirection based on Stat conditions.
Use Multi Stat CheckEvaluates the condition using multiple Stats instead of a single Stat.
Single Stat CheckerDefines the condition evaluated against a single Stat.
Multi Stat CheckerDefines the condition evaluated against multiple Stats.
Result Attribute CheckEnables a condition based on the Effect's Result Attributes.
Result AttributesDefines the Result Attributes used by the condition. Since Result Attributes can be added throughout the processing funnel, this allows conditional redirection based on previous processing results. For example, a Redirector can redirect only Critical damage.
Result Attribute Check TypeDetermines how the Result Attribute condition is evaluated. See Result Attribute Check Types below.
Override Target EnvironmentOverrides the Environment of the redirected Effect.
Targeting Environment IdThe Environment Id assigned to the redirected Effect when overriding is enabled.
Add Result Attribute If PassAdds a Result Attribute to the redirected Effect after a successful redirection.
Adding AttributeThe Result Attribute added to the redirected Effect.

Redirect Targets

TargetDescription
SourceRedirects the Effect to the original source Actor.
TargetRedirects the Effect to the original target Actor.
Modifier SourceRedirects the Effect to the Actor that added the Modifier. This is particularly useful with SourceSeparated Stats.
Trigger ActorRedirects the Effect to the Actor that triggered it. For example, when an Effector collides with an enemy, the Trigger Actor is the enemy, even if the Effect Definition targets the original source Actor.
EffectorRedirects the Effect to the Actor assigned to the Effector.
Relation StateRedirects the Effect to Actors obtained through a configured Relation.
Team FlagsRedirects the Effect to Actors whose teams match the specified bitwise Team Flags.
CustomUses a custom implementation derived from CustomTargeter to determine the target Actor or Actors.
WorldRedirects the Effect to the PowerWorld Actor.
Actor StatRedirects the Effect to the Actor referenced by the specified Actor Stat.

Result Attribute Check Types

TypeDescription
ExistsThe condition passes if the Effect contains the specified Result Attributes.
Not ExistsThe condition passes if the Effect does not contain the specified Result Attributes.