Skip to content

Effect.IsActivated ​

Signature ​

lua
Effect.IsActivated(Effect e) -> bool

Description ​

Checks whether e has one of the EFFECT_TYPES_CHAIN_LINK type bits.

Parameters ​

  • e Effect

Returns ​

  • bool

Source ​

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

Used By ​

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

  • Detected in 151 indexed script(s).
  • Search this function in the Script Explorer with Effect.IsActivated.
CardIDScriptDetected Calls
Accel Synchro Stardust Dragon30983281Scripts/c30983281.lua1
Melffy Playtime Surprise58036097Scripts/c58036097.lua1
Performage Cup Tricker6812770Scripts/c6812770.lua1
El Shaddoll Meshachrer32467459Scripts/c32467459.lua1
Ancient Gear Duel53541822Scripts/c53541822.lua1
Branded in White34995106Scripts/c34995106.lua1
Miscellaneousaurus38572779Scripts/c38572779.lua1
Heavy Interlock20071842Scripts/c20071842.lua1
Sinful Spoils of the White Forest3496543Scripts/c3496543.lua1
Fallen Paradise of the Sacred Beasts65861210Scripts/c65861210.lua1
Vanquish Soul Caesar Valius91073013Scripts/c91073013.lua1
Chevreuil, Hunting Scout of the Deep Forest13023431Scripts/c13023431.lua1
Gagaga Girl - Cell Phone Subtraction48393693Scripts/c48393693.lua1
Cyberdark End Dragon37542782Scripts/c37542782.lua1
Fairy Tail - Wiccat27632520Scripts/c27632520.lua1
Red-Eyes Black Dragon Exceed17242022Scripts/c17242022.lua1
Shadow Severing Strike57232301Scripts/c57232301.lua1
Emblema Salvation61950680Scripts/c61950680.lua1
Rapid Trigger67526112Scripts/c67526112.lua1
Black Chaos98684220Scripts/c98684220.lua1
Shichi-Go-San11035075Scripts/c11035075.lua1
Scourge of the White Forest93723936Scripts/c93723936.lua1
Exstellarknight Constellar Ptolemy Ω76195332Scripts/c6195332.lua1
Artmage Peripeteia -Turmoil-17719582Scripts/c17719582.lua1
...and 127 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

Performage Cup Tricker (6812770) ​

Source: Scripts/c6812770.lua

lua
function s.xyzcon(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	return c:IsReason(REASON_COST) and re:IsActivated() and re:IsActiveType(TYPE_XYZ)
		and c:IsPreviousLocation(LOCATION_OVERLAY)
end