Card.ResetEffect
Signature
lua
Card.ResetEffect(Card c, int code, int reset_type) -> voidDescription
Manually resets effects on c that match code and reset_type.
Parameters
cCardcodeintreset_typeint
Source
D:\Programs\GitHub\ygopro-core\libcard.cpp:3605
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 18 indexed script(s).
- Search this function in the Script Explorer with
Card.ResetEffect.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Starving Venemy Dragon | 93729065 | Scripts/c93729065.lua | 2 |
| Windwitch - Crystal Bell | 25793414 | Scripts/c25793414.lua | 2 |
| Odd-Eyes Venom Dragon | 45014450 | Scripts/c45014450.lua | 2 |
| Masterflare Hyperion | 63101468 | Scripts/c63101468.lua | 2 |
| Starving Venom Fusion Dragon | 41209827 | Scripts/c41209827.lua | 2 |
| Blackwing - Aurora the Northern Lights | 4068622 | Scripts/c4068622.lua | 2 |
| Hundred Eyes Dragon | 95453143 | Scripts/c95453143.lua | 2 |
| Supreme King Dragon Starving Venom | 43387895 | Scripts/c43387895.lua | 2 |
| Dragon Knight Draco-Equiste | 14017402 | Scripts/c14017402.lua | 2 |
| Number 8: Heraldic King Genom-Heritage | 47387961 | Scripts/c47387961.lua | 2 |
| CXyz Barian Hope | 67926903 | Scripts/c67926903.lua | 2 |
| Elemental HERO Divine Neos | 31111109 | Scripts/c31111109.lua | 2 |
| Phantom of Chaos | 30312361 | Scripts/c30312361.lua | 2 |
| Arcana Call | 99189322 | Scripts/c99189322.lua | 1 |
| Neo-Spacian Dark Panther | 43237273 | Scripts/c43237273.lua | 2 |
| Pseudo Space | 77584012 | Scripts/c77584012.lua | 2 |
| Satellite Cannon | 50400231 | Scripts/c50400231.lua | 1 |
| Ape Fighter | 41098335 | Scripts/c41098335.lua | 1 |
Script Examples
Starving Venemy Dragon (93729065)
Source: Scripts/c93729065.lua
lua
local cid=e:GetLabel()
if cid~=0 then
c:ResetEffect(cid,RESET_COPY)
c:ResetEffect(RESET_DISABLE,RESET_EVENT)
endWindwitch - Crystal Bell (25793414)
Source: Scripts/c25793414.lua
lua
local cid=e:GetLabel()
if cid~=0 then
c:ResetEffect(cid,RESET_COPY)
c:ResetEffect(RESET_DISABLE,RESET_EVENT)
endOdd-Eyes Venom Dragon (45014450)
Source: Scripts/c45014450.lua
lua
local cid=e:GetLabel()
if cid~=0 then
c:ResetEffect(cid,RESET_COPY)
c:ResetEffect(RESET_DISABLE,RESET_EVENT)
end