Commit d400e877 authored by DailyShana's avatar DailyShana

remove setcode 0x103

parent b866daf7
...@@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp) ...@@ -55,10 +55,10 @@ function c67159705.repval(e,re,r,rp)
return bit.band(r,REASON_BATTLE)~=0 return bit.band(r,REASON_BATTLE)~=0
end end
function c67159705.eqlimit(e,c) function c67159705.eqlimit(e,c)
return c:IsSetCard(0x103) return c:IsCode(70095154) or aux.IsMaterialListCode(c,70095154)
end end
function c67159705.filter(c) function c67159705.filter(c)
return c:IsFaceup() and c:IsSetCard(0x103) and c:GetUnionCount()==0 return c:IsFaceup() and (c:IsCode(70095154) or aux.IsMaterialListCode(c,70095154)) and c:GetUnionCount()==0
end end
function c67159705.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c67159705.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c67159705.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and c67159705.filter(chkc) end
......
...@@ -25,7 +25,7 @@ function c92773018.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,7 +25,7 @@ function c92773018.condition(e,tp,eg,ep,ev,re,r,rp)
return tp~=Duel.GetTurnPlayer() return tp~=Duel.GetTurnPlayer()
end end
function c92773018.cfilter(c) function c92773018.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x103) and c:IsAbleToGraveAsCost() return c:IsFaceup() and (c:IsCode(70095154) or aux.IsMaterialListCode(c,70095154)) and c:IsAbleToGraveAsCost()
end end
function c92773018.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c92773018.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c92773018.cfilter,tp,LOCATION_MZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c92773018.cfilter,tp,LOCATION_MZONE,0,1,nil) 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