Commit 704921a6 authored by wind2009's avatar wind2009

Fix 絢嵐たる海霊ヴァルルーン

parent 9d5c4110
...@@ -58,7 +58,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,7 +58,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function s.mvfilter(c) function s.mvfilter(c)
return c:IsFaceup() and (c:IsControler(c:GetOwner()) or c:IsAbleToChangeControler()) and not c:IsForbidden() and c:CheckUniqueOnField(c:GetOwner()) return c:IsFaceup() and (c:IsControler(c:GetOwner()) or c:IsAbleToChangeControler())
and not c:IsForbidden() and c:CheckUniqueOnField(c:GetOwner())
end end
function s.mvfilter2(c,e) function s.mvfilter2(c,e)
return c:IsType(TYPE_MONSTER) and (c:IsControler(c:GetOwner()) or c:IsAbleToChangeControler()) return c:IsType(TYPE_MONSTER) and (c:IsControler(c:GetOwner()) or c:IsAbleToChangeControler())
...@@ -69,7 +70,8 @@ function s.isowner(c,tp) ...@@ -69,7 +70,8 @@ function s.isowner(c,tp)
return c:GetOwner()==tp return c:GetOwner()==tp
end end
function s.gcheck(g) function s.gcheck(g)
return g:FilterCount(s.isowner,nil,0)<=Duel.GetLocationCount(0,LOCATION_SZONE) and g:FilterCount(s.isowner,nil,1)<=Duel.GetLocationCount(1,LOCATION_SZONE) and g:FilterCount(Card.IsSetCard,nil,0x1d1)>0 return g:FilterCount(s.isowner,nil,0)<=Duel.GetLocationCount(0,LOCATION_SZONE) and g:FilterCount(s.isowner,nil,1)<=Duel.GetLocationCount(1,LOCATION_SZONE)
and g:FilterCount(aux.AND(Card.IsSetCard,Card.IsFaceup),nil,0x1d1)>0
end end
function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return false end if chkc then return false 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