Effect.GetDescription
Signature
lua
Effect.GetDescription(Effect e) -> intDescription
Returns e's description id.
Parameters
eEffect
Returns
int
Source
D:\Programs\GitHub\ygopro-core\libeffect.cpp:631
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 489 indexed script(s).
- Search this function in the Script Explorer with
Effect.GetDescription.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
local tg=sg:Select(tp,1,1,nil)
local tc=tg:GetFirst()
if sg1:IsContains(tc) and (sg2==nil or not sg2:IsContains(tc) or not Duel.SelectYesNo(tp,ce:GetDescription())) then
local mat1=Duel.SelectFusionMaterial(tp,tc,mg1,nil,chkf)
tc:SetMaterial(mat1)Astrograph Sorcerer, the Starfrost Magician (48171151)
Source: Scripts/c48171151.lua
lua
local tg=sg:Select(tp,1,1,nil)
local tc=tg:GetFirst()
if sg1:IsContains(tc) and (sg2==nil or not sg2:IsContains(tc) or ce~=nil and not Duel.SelectYesNo(tp,ce:GetDescription())) then
local mat=Duel.SelectFusionMaterial(tp,tc,mg1,nil,chkf)
tc:SetMaterial(mat)Artmage Non-Finito (74631897)
Source: Scripts/c74631897.lua
lua
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)