Commit 162a5e1e authored by mercury233's avatar mercury233

fix

parent bd0c1d67
...@@ -28,6 +28,7 @@ function c100413011.initial_effect(c) ...@@ -28,6 +28,7 @@ function c100413011.initial_effect(c)
e3:SetCategory(CATEGORY_TOHAND) e3:SetCategory(CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,100413011+100) e3:SetCountLimit(1,100413011+100)
e3:SetCondition(c100413011.thcon) e3:SetCondition(c100413011.thcon)
e3:SetTarget(c100413011.thtg) e3:SetTarget(c100413011.thtg)
......
...@@ -40,7 +40,7 @@ function c101010013.hspcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function c101010013.hspcon(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
if not d then return false end if not d then return false end
if d:IsControler(tp) then a,d=d,a end if d:IsControler(tp) then a,d=d,a end
return a:IsSetCard(0x19) return a:IsSetCard(0x19) and a:IsFaceup()
end end
function c101010013.hsptg(e,tp,eg,ep,ev,re,r,rp,chk) function c101010013.hsptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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