Skip to content

Duel.IsPlayerAffectedByEffect

Source Code | Usage Examples | Duel Functions

Returns the first instance of an effect affecting the player corresponding to the passed code, nil if there's none. The return can be used as boolean check with an Effect being returned as true and nil being returned as false.

Signature

Duel.IsPlayerAffectedByEffect(int player, int code) → Effect|nil

lua
Duel.IsPlayerAffectedByEffect(player,code)

Parameters

Returns


under-construction