Duel.GetPlayerEffect
Source Code | Usage Examples | Duel
Functions
Returns all the effect with that code (int effect_type) applied on the player. With no effect_type or effect_type=0 it will return all the effects applied on the player. [effect_type refer to "EFFECT_" constants, eg: EFFECT_REVERSE_DAMAGE, EFFECT_CANNOT_MSET]
Signature
Duel.GetPlayerEffect(int player
, [int effect_type
]) → Effect, any
lua
Duel.GetPlayerEffect(player,effect_type)