Commit b1c85bab authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 77c6a467
expansions/pics/33401058.jpg

313 KB | W: | H:

expansions/pics/33401058.jpg

311 KB | W: | H:

expansions/pics/33401058.jpg
expansions/pics/33401058.jpg
expansions/pics/33401058.jpg
expansions/pics/33401058.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -60,7 +60,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -60,7 +60,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
--e2 --e2
function cm.discon(e,tp,eg,ep,ev,re,r,rp) function cm.discon(e,tp,eg,ep,ev,re,r,rp)
return rp==tp and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():GetCounter(0x1a80)==0 and re:IsLocation(LOCATION_MZONE) return rp==tp and re:IsActiveType(TYPE_MONSTER) and re:GetHandler():GetCounter(0x1a80)==0 and re:GetHandler():IsLocation(LOCATION_MZONE)
end end
function cm.disop(e,tp,eg,ep,ev,re,r,rp) function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,m) Duel.Hint(HINT_CARD,0,m)
......
...@@ -35,13 +35,13 @@ end ...@@ -35,13 +35,13 @@ end
--e2 --e2
function cm.cfilter(c,ec) function cm.cfilter(c,ec)
if c:IsLocation(LOCATION_MZONE) then if c:IsLocation(LOCATION_MZONE) then
return c:IsFaceup() return c:IsFaceup()
else else
return c:IsPreviousPosition(POS_FACEUP) return c:IsPreviousPosition(POS_FACEUP)
end end
end end
function cm.ctcon(e,tp,eg,ep,ev,re,r,rp) function cm.ctcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.cfilter,1,e:GetHandler()) return eg:IsExists(cm.cfilter,1,e:GetHandler()) and ep==tp
end end
function cm.ctop(e,tp,eg,ep,ev,re,r,rp) function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
eg:GetFirst():AddCounter(0x1a80,1) eg:GetFirst():AddCounter(0x1a80,1)
......
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