攻略
Combo
考据
好物分享
卡图故事
支缓
盘点整理
Duel Links
--ライオウ function c71564252.initial_effect(c) --disable search local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_TO_HAND) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetTargetRange(1,1) e1:SetTarget(aux.TargetBoolFunction(Card.IsLocation,LOCATION_DECK)) c:RegisterEffect(e1) --disable spsummon local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DISABLE_SUMMON+CATEGORY_DESTROY) e2:SetDescription(aux.Stringid(71564252,0)) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetRange(LOCATION_MZONE) e2:SetCode(EVENT_SPSUMMON) e2:SetCondition(c71564252.condition) e2:SetCost(c71564252.cost) e2:SetTarget(c71564252.target) e2:SetOperation(c71564252.operation) c:RegisterEffect(e2) end function c71564252.condition(e,tp,eg,ep,ev,re,r,rp) return tp~=ep and eg:GetCount()==1 and Duel.GetCurrentChain()==0 end function c71564252.cost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() end Duel.SendtoGrave(e:GetHandler(),REASON_COST) end function c71564252.target(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return true end Duel.SetOperationInfo(0,CATEGORY_DISABLE_SUMMON,eg,eg:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,eg:GetCount(),0,0) end function c71564252.operation(e,tp,eg,ep,ev,re,r,rp,chk) Duel.NegateSummon(eg) Duel.Destroy(eg,REASON_EFFECT) end