Commit f842f9e7 authored by nekrozar's avatar nekrozar Committed by salix5

fix (#1181)

parent 45872fb4
...@@ -8,7 +8,7 @@ function c66865880.initial_effect(c) ...@@ -8,7 +8,7 @@ function c66865880.initial_effect(c)
-- --
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e2:SetCode(EFFECT_ONLY_ATTACK_MONSTER)
e2:SetRange(LOCATION_SZONE) e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(0,LOCATION_MZONE) e2:SetTargetRange(0,LOCATION_MZONE)
e2:SetCondition(c66865880.con) e2:SetCondition(c66865880.con)
...@@ -22,5 +22,5 @@ function c66865880.con(e) ...@@ -22,5 +22,5 @@ function c66865880.con(e)
return Duel.IsExistingMatchingCard(c66865880.cfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c66865880.cfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end end
function c66865880.atlimit(e,c) function c66865880.atlimit(e,c)
return c:IsFacedown() or c:GetCode()~=31305911 return c:IsFaceup() and c:IsCode(31305911)
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