Commit 36127bad authored by Momobako's avatar Momobako

Push by Appveyor

parent 09e615ec
...@@ -84,7 +84,7 @@ function c13257319.eqfilter(c,ec) ...@@ -84,7 +84,7 @@ function c13257319.eqfilter(c,ec)
return c:IsSetCard(0x3352) and c:IsType(TYPE_MONSTER) and c:CheckEquipTarget(ec) return c:IsSetCard(0x3352) and c:IsType(TYPE_MONSTER) and c:CheckEquipTarget(ec)
end end
function c13257319.pctg(e,tp,eg,ep,ev,re,r,rp,chk) function c13257319.pctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c13257319.eqfilter,tp,LOCATION_EXTRA,0,1,nil,e:GetHandler()) end if chk==0 then return e:GetHandler():GetEquipCount()>0 or Duel.IsExistingMatchingCard(c13257319.eqfilter,tp,LOCATION_EXTRA,0,1,nil,e:GetHandler()) end
e:SetCategory(CATEGORY_EQUIP) e:SetCategory(CATEGORY_EQUIP)
Duel.SetOperationInfo(0,CATEGORY_EQUIP,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_EQUIP,nil,1,tp,LOCATION_EXTRA)
end end
......
...@@ -58,7 +58,7 @@ function c13257321.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,7 @@ function c13257321.eqop(e,tp,eg,ep,ev,re,r,rp)
end end
function c13257321.pctg(e,tp,eg,ep,ev,re,r,rp,chk) function c13257321.pctg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local t1=Duel.IsExistingMatchingCard(c13257321.eqfilter,tp,LOCATION_EXTRA,0,1,nil,c) local t1=c:GetEquipCount()>0 or Duel.IsExistingMatchingCard(c13257321.eqfilter,tp,LOCATION_EXTRA,0,1,nil,c)
local t2=Duel.IsCanAddCounter(tp,0x351,1,c) local t2=Duel.IsCanAddCounter(tp,0x351,1,c)
if chk==0 then return t1 or t2 end if chk==0 then return t1 or t2 end
local op=0 local op=0
...@@ -129,7 +129,7 @@ function c13257321.acfilter(c) ...@@ -129,7 +129,7 @@ function c13257321.acfilter(c)
return c:IsFaceup() and (c:GetAttack()>0 or c:GetDefense()>0) return c:IsFaceup() and (c:GetAttack()>0 or c:GetDefense()>0)
end end
function c13257321.desfilter(c) function c13257321.desfilter(c)
return c:IsFaceup() and (c:GetAttack()==0 or c:GetDefense()==0) return c:IsFaceup() and (c:GetAttack()==0 or (c:GetDefense()==0 and not c:IsType(TYPE_LINK)))
end end
function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp) function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c13257321.acfilter,tp,0,LOCATION_MZONE,nil) local g=Duel.GetMatchingGroup(c13257321.acfilter,tp,0,LOCATION_MZONE,nil)
...@@ -139,7 +139,7 @@ function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp) ...@@ -139,7 +139,7 @@ function c13257321.bombop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1fe0000)
e1:SetValue(-1000) e1:SetValue(-1000)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
local e2=e1:Clone() local e2=e1:Clone()
......
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