Group.RemoveCard
Signature
lua
Group.RemoveCard(Group g, Card c) -> voidDescription
Removes c from g. The function mutates g unless g is read-only and returns no Lua value.
Parameters
gGroupcCard
Source
D:\Programs\GitHub\ygopro-core\libgroup.cpp:907
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 116 indexed script(s).
- Search this function in the Script Explorer with
Group.RemoveCard.
Script Examples
Ashtraja Susanoo (17020474)
Source: Scripts/c17020474.lua
lua
end
if selg:IsContains(tc) then
selg:RemoveCard(tc)
else
selg:AddCard(tc)Deftero Enneacraft - "alazoneIA" (92171126)
Source: Scripts/c92171126.lua
lua
local og=Duel.GetOperatedGroup()
if c:GetOriginalCode()~=id then
og:RemoveCard(c)
end
local oc=og:GetFirst()El Shaddoll Apkallone (50907446)
Source: Scripts/c50907446.lua
lua
if gc then
g=Group.FromCards(gc)
mg:RemoveCard(gc)
else
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FMATERIAL)