Commit 44b70027 authored by TanakaKotoha's avatar TanakaKotoha

post

parent c9d133c3
...@@ -25,7 +25,7 @@ function cm.initial_effect(c) ...@@ -25,7 +25,7 @@ function cm.initial_effect(c)
Duel.AddCustomActivityCounter(m,ACTIVITY_CHAIN,aux.FALSE) Duel.AddCustomActivityCounter(m,ACTIVITY_CHAIN,aux.FALSE)
end end
function cm.actcon(e,tp,eg,ep,ev,re,r,rp) function cm.actcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsAbleToEnterBP() and Duel.GetTurnPlayer()==tp and not Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_ONFIELD,0,1,nil) and Duel.GetDrawCount(tp)>0 return Duel.GetTurnPlayer()==tp and not Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_ONFIELD,0,1,nil) and Duel.GetDrawCount(tp)>0
end end
function cm.counterfilter(c) function cm.counterfilter(c)
return c:GetSummonLocation()~=LOCATION_EXTRA return c:GetSummonLocation()~=LOCATION_EXTRA
......
...@@ -89,10 +89,10 @@ end ...@@ -89,10 +89,10 @@ end
function c60151731.filter2(c,ft) function c60151731.filter2(c,ft)
if ft==0 then if ft==0 then
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and c:IsLocation(LOCATION_MZONE)
else else
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and ((c:IsLocation(LOCATION_MZONE) and c:IsFaceup()) or c:IsLocation(LOCATION_HAND)) and ((c:IsLocation(LOCATION_MZONE)) or c:IsLocation(LOCATION_HAND))
end end
end end
function c60151731.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c60151731.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -106,10 +106,10 @@ end ...@@ -106,10 +106,10 @@ end
function c60151732.filter2(c,ft) function c60151732.filter2(c,ft)
if ft==0 then if ft==0 then
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and c:IsLocation(LOCATION_MZONE)
else else
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and ((c:IsLocation(LOCATION_MZONE) and c:IsFaceup()) or c:IsLocation(LOCATION_HAND)) and ((c:IsLocation(LOCATION_MZONE)) or c:IsLocation(LOCATION_HAND))
end end
end end
function c60151732.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c60151732.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
...@@ -129,10 +129,10 @@ end ...@@ -129,10 +129,10 @@ end
function c60151733.filter2(c,ft) function c60151733.filter2(c,ft)
if ft==0 then if ft==0 then
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and c:IsLocation(LOCATION_MZONE)
else else
return c:IsType(TYPE_MONSTER) and c:IsDestructable() return c:IsType(TYPE_MONSTER) and c:IsDestructable()
and ((c:IsLocation(LOCATION_MZONE) and c:IsFaceup()) or c:IsLocation(LOCATION_HAND)) and ((c:IsLocation(LOCATION_MZONE)) or c:IsLocation(LOCATION_HAND))
end end
end end
function c60151733.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c60151733.target2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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