Commit 82401dbd authored by mercury233's avatar mercury233 Committed by GitHub
parent f85f7f41
......@@ -29,11 +29,17 @@ function c65536818.initial_effect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e3:SetCode(EVENT_LEAVE_FIELD)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetCondition(c65536818.spcon)
e3:SetTarget(c65536818.sptg)
e3:SetOperation(c65536818.spop)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EVENT_REMOVE)
c:RegisterEffect(e4)
local e5=e3:Clone()
e5:SetCode(EVENT_TO_DECK)
c:RegisterEffect(e5)
end
function c65536818.thfilter(c)
return c:IsSetCard(0x9e) and c:IsAbleToHand()
......@@ -76,7 +82,7 @@ function c65536818.lvop(e,tp,eg,ep,ev,re,r,rp)
end
function c65536818.spcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) and c:GetLocation()~=LOCATION_DECK
return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousLocation(LOCATION_ONFIELD)
end
function c65536818.spfilter(c,e,tp)
return c:IsSetCard(0x9e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
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