Skip to content

Effect.GetOwnerPlayer ​

Signature ​

lua
Effect.GetOwnerPlayer(Effect e) -> int

Description ​

Returns the player stored as e's owner player.

Parameters ​

  • e Effect

Returns ​

  • int

Source ​

  • D:\Programs\GitHub\ygopro-core\libeffect.cpp:648

Used By ​

Generated from the local Scripts/ folder and cards.cdb.

  • Detected in 169 indexed script(s).
  • Search this function in the Script Explorer with Effect.GetOwnerPlayer.
CardIDScriptDetected Calls
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua2
Melffy Playtime Surprise58036097Scripts/c58036097.lua1
Enneacraft - Aiza.LEON82359538Scripts/c82359538.lua2
Ancient Gear Duel53541822Scripts/c53541822.lua1
Dinomorphia Frenzy78420796Scripts/c78420796.lua1
Miscellaneousaurus38572779Scripts/c38572779.lua2
Fallen Paradise of the Sacred Beasts65861210Scripts/c65861210.lua1
Dinomorphia Domain26631975Scripts/c26631975.lua1
Vanquish Soul Caesar Valius91073013Scripts/c91073013.lua1
Thunder Dragonlord5206415Scripts/c5206415.lua1
Chevreuil, Hunting Scout of the Deep Forest13023431Scripts/c13023431.lua1
Cyberdark End Dragon37542782Scripts/c37542782.lua1
Fairy Tail - Wiccat27632520Scripts/c27632520.lua1
Red-Eyes Black Dragon Exceed17242022Scripts/c17242022.lua1
Heraldic Beast Stad Whale97662494Scripts/c97662494.lua1
Black Chaos98684220Scripts/c98684220.lua1
Raviel, Lord of Phantasms - Shimmering Scraper28651380Scripts/c28651380.lua1
Shichi-Go-San11035075Scripts/c11035075.lua1
Exstellarknight Constellar Ptolemy Ω76195332Scripts/c6195332.lua1
Blaze Cannon4059313Scripts/c4059313.lua1
King's Resonance17269895Scripts/c17269895.lua1
Combat Wheel12501230Scripts/c12501230.lua1
Miracle Raven18988396Scripts/c18988396.lua1
Crystal Clear Wing Synchro Dragon59765225Scripts/c59765225.lua1
...and 145 more

Script Examples ​

Accel Synchro Stardust Dragon (30983281) ​

Source: Scripts/c30983281.lua

lua
end
function c30983281.immval(e,te)
	return te:GetOwnerPlayer()~=e:GetOwnerPlayer() and te:IsActivated()
end

Melffy Playtime Surprise (58036097) ​

Source: Scripts/c58036097.lua

lua
end
function s.efilter(e,re)
	return e:GetHandlerPlayer()~=re:GetOwnerPlayer() and re:IsActivated()
end

Enneacraft - Aiza.LEON (82359538) ​

Source: Scripts/c82359538.lua

lua
	return e:GetHandler():GetFlagEffect(id)>0
		and eg:IsExists(Card.IsControler,1,nil,1-tp) and not Duel.IsChainSolving()
		and re and re:GetOwnerPlayer()==1-tp
end
function s.damop1(e,tp,eg,ep,ev,re,r,rp)