Effect.GetProperty
Signature
lua
Effect.GetProperty(Effect e) -> int,intDescription
Returns e's two property flag fields, flag1 and flag2.
Parameters
eEffect
Returns
int- flag1.int- flag2.
Source
D:\Programs\GitHub\ygopro-core\libeffect.cpp:634
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 29 indexed script(s).
- Search this function in the Script Explorer with
Effect.GetProperty.
| Card | ID | Script | Detected Calls |
|---|---|---|---|
| Barian's Chaos Draw | 97769122 | Scripts/c97769122.lua | 1 |
| Transonic Bird | 34072799 | Scripts/c34072799.lua | 1 |
| Chef de Nouvelles | 29251488 | Scripts/c29251488.lua | 1 |
| Witchcrafter Genni | 64756282 | Scripts/c64756282.lua | 1 |
| Angello Vaalmonica | 3048768 | Scripts/c3048768.lua | 1 |
| Dimonno Vaalmonica | 30432463 | Scripts/c30432463.lua | 1 |
| Witchcrafter Pupils | 69964858 | Scripts/c69964858.lua | 1 |
| Dinomorphia Kentregina | 48832775 | Scripts/c48832775.lua | 1 |
| Predaplant Verte Anaconda | 70369116 | Scripts/c70369116.lua | 1 |
| Chasma, Dragon Ruler of Auroras | 4965193 | Scripts/c4965193.lua | 1 |
| Joker's Wild | 81945678 | Scripts/c81945678.lua | 1 |
| Dinomorphia Reversion | 28292031 | Scripts/c28292031.lua | 1 |
| Seventh Ascension | 23153227 | Scripts/c23153227.lua | 1 |
| Stars Align across the Milky Way | 20417688 | Scripts/c20417688.lua | 1 |
| Bait Doll | 7165085 | Scripts/c7165085.lua | 1 |
| Traptrix Rafflesia | 6511113 | Scripts/c6511113.lua | 1 |
| Double Spell | 24096228 | Scripts/c24096228.lua | 1 |
| Kewl Tune Loudness War | 41069676 | Scripts/c41069676.lua | 1 |
| Numeron Network | 41418852 | Scripts/c41418852.lua | 1 |
| Spellbook of the Master | 56981417 | Scripts/c56981417.lua | 1 |
| Ghostrick Festival | 35871958 | Scripts/c35871958.lua | 1 |
| Fusion Duplication | 43331750 | Scripts/c43331750.lua | 1 |
| Trap of Darkness | 79766336 | Scripts/c79766336.lua | 1 |
| Transaction Rollback | 6351147 | Scripts/c6351147.lua | 1 |
| ...and 5 more |
Script Examples
Barian's Chaos Draw (97769122)
Source: Scripts/c97769122.lua
lua
local te,ceg,cep,cev,cre,cr,crp=g:GetFirst():CheckActivateEffect(true,true,true)
Duel.SendtoGrave(g,REASON_COST)
e:SetProperty(te:GetProperty())
local tg=te:GetTarget()
if tg then tg(e,tp,ceg,cep,cev,cre,cr,crp,1) endTransonic Bird (34072799)
Source: Scripts/c34072799.lua
lua
e:SetLabelObject(te)
Duel.SendtoGrave(g,REASON_COST)
e:SetProperty(te:GetProperty())
local tg=te:GetTarget()
if tg then tg(e,tp,eg,ep,ev,re,r,rp,1) endChef de Nouvelles (29251488)
Source: Scripts/c29251488.lua
lua
local te,ceg,cep,cev,cre,cr,crp=g:GetFirst():CheckActivateEffect(false,true,true)
Duel.Remove(g,POS_FACEUP,REASON_COST)
e:SetProperty(te:GetProperty())
local tg=te:GetTarget()
if tg then tg(e,tp,ceg,cep,cev,cre,cr,crp,1) end