Commit bfb0529b authored by Amiya's avatar Amiya

古代的机械龙修复

parent 5dbd4f65
...@@ -29,7 +29,7 @@ function s.initial_effect(c) ...@@ -29,7 +29,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x7) return c:IsFaceup() and c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_EARTH)
end end
function s.ntcon(e,c,minc) function s.ntcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
...@@ -42,8 +42,8 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,8 +42,8 @@ function s.discon(e,tp,eg,ep,ev,re,r,rp)
and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsChainNegatable(ev) and re:IsActiveType(TYPE_SPELL+TYPE_TRAP) and Duel.IsChainNegatable(ev)
end end
function s.cfilter(c) function s.cfilter(c)
return c:IsRace(RACE_MACHINE) and c:IsLocation(LOCATION_HAND+LOCATION_MZONE) return (c:IsRace(RACE_MACHINE) and c:IsLocation(LOCATION_HAND+LOCATION_MZONE)
or c:IsCode(83104731) and c:IsLocation(LOCATION_DECK) or c:IsCode(83104731) and c:IsLocation(LOCATION_DECK))
and c:IsAbleToGraveAsCost() and c:IsFaceupEx() and c:IsAbleToGraveAsCost() and c:IsFaceupEx()
end end
function s.discost(e,tp,eg,ep,ev,re,r,rp,chk) function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
......
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