Commit f22178b8 authored by wind2009's avatar wind2009

Fix ドレイク・シャーク

parent 6a9eea68
......@@ -25,6 +25,7 @@ function s.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1)
e3:SetCondition(s.xyzcon)
e3:SetCost(s.xyzcost)
e3:SetTarget(s.xyztg)
e3:SetOperation(s.xyzop)
......@@ -174,7 +175,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function s.xyzcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsSetCard(0x12b7)
return c:IsSetCard(0x12b7) and c:IsType(TYPE_XYZ)
end
function s.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsCanOverlay()
......
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