Duel.GetOperatedGroup
Signature
lua
Duel.GetOperatedGroup() -> GroupDescription
Returns the group of cards actually processed by the most recent card operation.
Returns
Group
Source
D:\Programs\GitHub\ygopro-core\libduel.cpp:4864
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 293 indexed script(s).
- Search this function in the Script Explorer with
Duel.GetOperatedGroup.
Script Examples
Deftero Enneacraft - "alazoneIA" (92171126)
Source: Scripts/c92171126.lua
lua
if Duel.Remove(rg,POS_FACEUP,REASON_EFFECT+REASON_TEMPORARY)~=0 then
local fid=c:GetFieldID()
local og=Duel.GetOperatedGroup()
if c:GetOriginalCode()~=id then
og:RemoveCard(c)PSY-Framelord Omega (74586817)
Source: Scripts/c74586817.lua
lua
if Duel.Remove(rg,POS_FACEUP,REASON_EFFECT+REASON_TEMPORARY)~=0 then
local fid=c:GetFieldID()
local og=Duel.GetOperatedGroup()
if c:GetOriginalCode()~=id then
og:RemoveCard(c)D/D/D/D Dimensional King Arc Crisis (71398055)
Source: Scripts/c71398055.lua
lua
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToChain,nil)
if Duel.Destroy(g,REASON_EFFECT)==0 then return end
local og=Duel.GetOperatedGroup()
local ect1=c29724053 and Duel.IsPlayerAffectedByEffect(tp,29724053) and c29724053[tp]
local ect2=aux.ExtraDeckSummonCountLimit and Duel.IsPlayerAffectedByEffect(tp,92345028)