Commit e7285fff authored by wind2009's avatar wind2009

Fix 魔轟神レヴェルゼブル

parent 0f50187e
No preview for this file type
......@@ -12,6 +12,7 @@ function s.initial_effect(c)
e1:SetHintTiming(TIMING_ATTACK,0x11e0)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(s.ctcon)
e1:SetTarget(s.cttg)
e1:SetOperation(s.ctop)
c:RegisterEffect(e1)
......@@ -27,6 +28,10 @@ function s.initial_effect(c)
e2:SetOperation(s.thop)
c:RegisterEffect(e2)
end
function s.ctcon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
end
function s.costfilter(c)
return c:IsSetCard(0x35) and c:IsType(TYPE_MONSTER)
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