Commit b33eaa8c authored by wind2009's avatar wind2009

Merge branch 'patch-1' into 'master'

fix--Mimighoul Maker

See merge request mycard/pre-release-database-cdb!69
parents 53bb3be8 b2219197
...@@ -74,7 +74,8 @@ end ...@@ -74,7 +74,8 @@ end
function s.posfilter(c) function s.posfilter(c)
return c:IsFacedown() and c:IsDefensePos() return c:IsFacedown() and c:IsDefensePos()
end end
function s.postg(e,tp,eg,ep,ev,re,r,rp,chk) function s.postg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and chkc:IsFacedown() end
if chk==0 then return Duel.IsExistingTarget(s.posfilter,tp,0,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(s.posfilter,tp,0,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_POSCHANGE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_POSCHANGE)
Duel.SelectTarget(tp,s.posfilter,tp,0,LOCATION_MZONE,1,1,nil) Duel.SelectTarget(tp,s.posfilter,tp,0,LOCATION_MZONE,1,1,nil)
......
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