Commit 12c84d87 authored by Tianchenglipu's avatar Tianchenglipu

Update c30392583.lua

parent 2124aee3
...@@ -6,15 +6,12 @@ function c30392583.initial_effect(c) ...@@ -6,15 +6,12 @@ function c30392583.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE) e1:SetRange(LOCATION_GRAVE)
e1:SetCondition(c30392583.thcon) e1:SetCondition(aux.tgrvdlycon)
e1:SetCost(c30392583.thcost) e1:SetCost(c30392583.thcost)
e1:SetTarget(c30392583.thtg) e1:SetTarget(c30392583.thtg)
e1:SetOperation(c30392583.thop) e1:SetOperation(c30392583.thop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c30392583.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetTurnID()~=Duel.GetTurnCount() or e:GetHandler():IsReason(REASON_RETURN)
end
function c30392583.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c30392583.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end if chk==0 then return e:GetHandler():IsAbleToRemoveAsCost() end
Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST) Duel.Remove(e:GetHandler(),POS_FACEUP,REASON_COST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment