Commit 97314ba8 authored by Fluorohydride's avatar Fluorohydride

fix

parent f147b547
...@@ -22,6 +22,7 @@ function c23649496.initial_effect(c) ...@@ -22,6 +22,7 @@ function c23649496.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP) e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e2:SetCode(EVENT_TO_GRAVE) e2:SetCode(EVENT_TO_GRAVE)
e2:SetCondition(c23649496.tgcon)
e2:SetTarget(c23649496.tgtg) e2:SetTarget(c23649496.tgtg)
e2:SetOperation(c23649496.tgop) e2:SetOperation(c23649496.tgop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
...@@ -71,6 +72,9 @@ end ...@@ -71,6 +72,9 @@ end
function c23649496.splimit(e,c,sump,sumtype,sumpos,targetp,se) function c23649496.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsCode(e:GetLabel()) return c:IsCode(e:GetLabel())
end end
function c23649496.tgcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsReason(REASON_RETURN)
end
function c23649496.tgfilter(c) function c23649496.tgfilter(c)
return c:IsSetCard(0x76) and c:IsAbleToGrave() return c:IsSetCard(0x76) and c:IsAbleToGrave()
end end
......
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