Effect.GetValue
Signature
lua
Effect.GetValue(Effect e) -> function|intDescription
Returns e's value field. For function-valued effects this is the stored callback; otherwise it is the stored integer value.
Parameters
eEffect
Returns
function|int
Source
D:\Programs\GitHub\ygopro-core\libeffect.cpp:644
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 248 indexed script(s).
- Search this function in the Script Explorer with
Effect.GetValue.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
local fgroup=ce:GetTarget()
local mg3=fgroup(ce,e,tp)
local mf=ce:GetValue()
res=Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg3,mf,chkf)
endAstrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
local fgroup=ce:GetTarget()
mg3=fgroup(ce,e,tp)
local mf=ce:GetValue()
sg2=Duel.GetMatchingGroup(s.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg3,mf,chkf)
endArtmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
local fgroup=ce:GetTarget()
local mg2=fgroup(ce,e,tp)
local mf=ce:GetValue()
res=Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,chkf)
end