Skip to content

Card.ResetEffect ​

Signature ​

lua
Card.ResetEffect(Card c, int code, int reset_type) -> void

Description ​

Manually resets effects on c that match code and reset_type.

Parameters ​

  • c Card
  • code int
  • reset_type int

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.
CardIDScriptDetected Calls
Starving Venemy Dragon93729065Scripts/c93729065.lua2
Windwitch - Crystal Bell25793414Scripts/c25793414.lua2
Odd-Eyes Venom Dragon45014450Scripts/c45014450.lua2
Masterflare Hyperion63101468Scripts/c63101468.lua2
Starving Venom Fusion Dragon41209827Scripts/c41209827.lua2
Blackwing - Aurora the Northern Lights4068622Scripts/c4068622.lua2
Hundred Eyes Dragon95453143Scripts/c95453143.lua2
Supreme King Dragon Starving Venom43387895Scripts/c43387895.lua2
Dragon Knight Draco-Equiste14017402Scripts/c14017402.lua2
Number 8: Heraldic King Genom-Heritage47387961Scripts/c47387961.lua2
CXyz Barian Hope67926903Scripts/c67926903.lua2
Elemental HERO Divine Neos31111109Scripts/c31111109.lua2
Phantom of Chaos30312361Scripts/c30312361.lua2
Arcana Call99189322Scripts/c99189322.lua1
Neo-Spacian Dark Panther43237273Scripts/c43237273.lua2
Pseudo Space77584012Scripts/c77584012.lua2
Satellite Cannon50400231Scripts/c50400231.lua1
Ape Fighter41098335Scripts/c41098335.lua1

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)
	end

Windwitch - 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)
	end

Odd-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