Commit da4d14fa authored by VanillaSalt's avatar VanillaSalt

fix

parent d3ae337a
......@@ -21,9 +21,9 @@ function c9030160.initial_effect(c)
e3:SetRange(LOCATION_SZONE)
e3:SetCode(EFFECT_UNRELEASABLE_SUM)
e3:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e3:SetTargetRange(0,LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e3:SetCondition(c9030160.condition)
e3:SetValue(1)
e3:SetValue(c9030160.sumlimit)
c:RegisterEffect(e3)
local e5=e3:Clone()
e5:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
......@@ -53,6 +53,10 @@ function c9030160.condition(e)
local pc2=Duel.GetFieldCard(tp,LOCATION_SZONE,7)
return pc1 and pc2 and pc1:IsSetCard(0xaf) and pc2:IsSetCard(0xaf)
end
function c9030160.sumlimit(e,c)
if not c then return false end
return not c:IsControler(e:GetHandlerPlayer())
end
function c9030160.evalue(e,re,rp)
return re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and rp~=e:GetHandlerPlayer()
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