Effect.GetLabel
Signature
lua
Effect.GetLabel(Effect e) -> ...Description
Returns e's stored integer labels. If no label was set, returns 0.
Parameters
eEffect
Returns
...- integer
Source
D:\Programs\GitHub\ygopro-core\libeffect.cpp:635
Guided Examples
Learn how to use this function in context:
Used By
Generated from the local Scripts/ folder and cards.cdb.
- Detected in 1733 indexed script(s).
- Search this function in the Script Explorer with
Effect.GetLabel.
Script Examples
Salamandra with Chain (62091148)
Source: Scripts/c62091148.lua
lua
function s.tgop(e,tp,eg,ep,ev,re,r,rp)
local cid=Duel.GetChainInfo(ev,CHAININFO_CHAIN_ID)
if cid~=e:GetLabel() then return end
if e:GetOwner():IsRelateToChain(ev) then
e:GetOwner():CancelToGrave(false)Pendulum Evolution (55795155)
Source: Scripts/c55795155.lua
lua
function c55795155.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,c55795155.thfilter,tp,LOCATION_DECK,0,1,1,nil,e:GetLabel())
if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT)Surprise Fusion (35167375)
Source: Scripts/c35167375.lua
lua
function s.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local race,att=e:GetLabel()
local ec=Duel.GetFirstTarget()
if ec:IsRelateToChain() and ec:IsFaceup() and ec:IsType(TYPE_MONSTER) then