Effect.IsActivated
Signature
lua
Effect.IsActivated(Effect e) -> boolDescription
Checks whether e has one of the EFFECT_TYPES_CHAIN_LINK type bits.
Parameters
eEffect
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.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Accel Synchro Stardust Dragon | 30983281 | Scripts/c30983281.lua | 1 |
| Melffy Playtime Surprise | 58036097 | Scripts/c58036097.lua | 1 |
| Performage Cup Tricker | 6812770 | Scripts/c6812770.lua | 1 |
| El Shaddoll Meshachrer | 32467459 | Scripts/c32467459.lua | 1 |
| Ancient Gear Duel | 53541822 | Scripts/c53541822.lua | 1 |
| Branded in White | 34995106 | Scripts/c34995106.lua | 1 |
| Miscellaneousaurus | 38572779 | Scripts/c38572779.lua | 1 |
| Heavy Interlock | 20071842 | Scripts/c20071842.lua | 1 |
| Sinful Spoils of the White Forest | 3496543 | Scripts/c3496543.lua | 1 |
| Fallen Paradise of the Sacred Beasts | 65861210 | Scripts/c65861210.lua | 1 |
| Vanquish Soul Caesar Valius | 91073013 | Scripts/c91073013.lua | 1 |
| Chevreuil, Hunting Scout of the Deep Forest | 13023431 | Scripts/c13023431.lua | 1 |
| Gagaga Girl - Cell Phone Subtraction | 48393693 | Scripts/c48393693.lua | 1 |
| Cyberdark End Dragon | 37542782 | Scripts/c37542782.lua | 1 |
| Fairy Tail - Wiccat | 27632520 | Scripts/c27632520.lua | 1 |
| Red-Eyes Black Dragon Exceed | 17242022 | Scripts/c17242022.lua | 1 |
| Shadow Severing Strike | 57232301 | Scripts/c57232301.lua | 1 |
| Emblema Salvation | 61950680 | Scripts/c61950680.lua | 1 |
| Rapid Trigger | 67526112 | Scripts/c67526112.lua | 1 |
| Black Chaos | 98684220 | Scripts/c98684220.lua | 1 |
| Shichi-Go-San | 11035075 | Scripts/c11035075.lua | 1 |
| Scourge of the White Forest | 93723936 | Scripts/c93723936.lua | 1 |
| Exstellarknight Constellar Ptolemy Ω7 | 6195332 | Scripts/c6195332.lua | 1 |
| Artmage Peripeteia -Turmoil- | 17719582 | Scripts/c17719582.lua | 1 |
| ...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()
endMelffy Playtime Surprise (58036097)
Source: Scripts/c58036097.lua
lua
end
function s.efilter(e,re)
return e:GetHandlerPlayer()~=re:GetOwnerPlayer() and re:IsActivated()
endPerformage 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