Duel
Functions for duel actions and checks.
Functions
Duel.AddCustomActivityCounter- Registers a custom activity counter.Duel.AssumeReset- Manually resets assumed properties.Duel.GetActivityCount- Gets the number of times a player has performed an activity.Duel.GetCardAliasFromCode- Gets the alias of a card using its passcode.Duel.GetCardAttackFromCode- Gets the ATK of a card using its passcode.Duel.GetCardAttributeFromCode- Gets the attribute(s) of a card using its passcode.Duel.GetCardDefenseFromCode- Gets the DEF of a card using its passcode.Duel.GetCardLevelFromCode- Gets the level of a card using its passcode.Duel.GetCardLinkMarkerFromCode- Gets the link marker(s) of a card using its passcode.Duel.GetCardLscaleFromCode- Gets the left pendulum scale of a card using its passcode.Duel.GetCardRaceFromCode- Gets the race(s) of a card using its passcode.Duel.GetCardRscaleFromCode- Gets the right pendulum scale of a card using its passcode.Duel.GetCardTypeFromCode- Gets the card type(s) of a card using its passcode.Duel.GetCustomActivityCount- Gets the number of times a player has performed a custom activity.Duel.IsBattlePhase- Checks if it is currently the Battle Phase.Duel.IsBattleStep- Checks if it is currently the Battle Step.Duel.IsDamageCalculation- Checks if it is currently during Damage Calculation.Duel.IsDamageStep- Checks if it is currently the Damage Step.Duel.IsDrawPhase- Checks if it is currently the Draw Phase.Duel.IsEndOfBattlePhase- Checks if it is currently the end of the Battle Phase (End Step).Duel.IsEndPhase- Checks if it is currently the End Phase.Duel.IsEndStep- Alias ofDuel.IsEndOfBattlePhase.Duel.IsMainPhase- Checks if it is currently the Main Phase.Duel.IsMainPhase1- Checks if it is currently the Main Phase 1.Duel.IsMainPhase2- Checks if it is currently the Main Phase 2.Duel.IsStandbyPhase- Checks if it is currently the Standby Phase.Duel.IsStartOfBattlePhase- Checks if it is currently the start of the Battle Phase (Start Step).Duel.IsStartStep- Alias ofDuel.IsStartOfBattlePhase.Duel.ProcedureSummon- Summons a monster such that it is considered to have been properly Summoned.Duel.SendtoDeck- Sends a card(s) to the Deck.