Effect.IsActivatable
Source Code | Usage Examples | Effect
Functions
Checks if an effect (Effect e) can be activated by a player (int player). If ignore location is true, the handler of the effect is not checked to be in a valid location for that effect to be activated. If ignore target is true, then the target function is not executed to check if the effect can be activated.
Signature
Effect.IsActivatable(Effect e
, int player
, [bool ignore_location
= false
, bool ignore_target
= false
]) → bool
lua
e:IsActivatable(player,ignore_location,ignore_target)
Parameters
Effect
e
(To be added)
int
player
(To be added)
bool
ignore_location
Optional. Defaults to
false
.(To be added)
bool
ignore_target
Optional. Defaults to
false
.(To be added)