Commit 4c1bd8ab authored by POLYMER's avatar POLYMER

fix

parent 6b099546
......@@ -29,8 +29,8 @@ function c22021570.spcon(e,c)
and Duel.IsExistingMatchingCard(c22021570.cfilter,c:GetControler(),LOCATION_MZONE,0,1,nil)
end
function c22021570.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,e:GetHandler(),0x3ff1) end
local g=Duel.SelectReleaseGroup(REASON_COST,tp,Card.IsSetCard,1,1,e:GetHandler(),0x3ff1)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,e:GetHandler(),0x3ff1) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,e:GetHandler(),0x3ff1)
Duel.Release(g,REASON_COST)
end
function c22021570.filter(c,ft,e,tp)
......
......@@ -72,9 +72,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.Equip(tp,e:GetHandler(),tc)
end
end
function s.efilter(e,te)
return te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) and not te:GetOwnerPlayer()==e:GetHandlerPlayer()
end
return te:GetOwnerPlayer()~=e:GetHandlerPlayer() and te:IsHasProperty(EFFECT_FLAG_CARD_TARGET)
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetHandler():GetEquipTarget()
return (Duel.GetAttacker()==tc or Duel.GetAttackTarget()==tc)
......
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