Skip to content

Effect.SetTargetRange

Source Code | Usage Examples | Effect Functions

Sets (Effect e)'s target range, s_range denotes the effect's handler player's range and o_range denotes the opponent's. If the effect has "EFFECT_FLAG_PLAYER_TARGET" as property, then here 1 as "s_range" would mean it affect the handler and 0 would mean it doesn't, and "o_range" would refer to the opponent of the handler.

Signature

Effect.SetTargetRange(Effect e, int s_range, int o_range) → nil

lua
e:SetTargetRange(s_range,o_range)

Parameters


under-construction