Commit 26c50214 authored by wind2009's avatar wind2009 Committed by GitHub

Fix 蛇眼の大炎魔 (#2553)

parent 39345907
......@@ -38,17 +38,19 @@ function s.mvcon(e,tp,eg,ep,ev,re,r,rp)
else
ft2=ft2+1
end
e:SetLabelObject(ac)
return ac and ac:IsControler(1-tp) and Duel.GetLocationCount(tp,LOCATION_SZONE)>=ft1
and Duel.GetLocationCount(1-tp,LOCATION_SZONE)>=ft2
end
function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local c=e:GetHandler()
local ac=c:GetBattleTarget()
if chk==0 then return ac~=nil end
Duel.SetTargetCard(ac)
end
function s.mvop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ac=e:GetLabelObject()
if not ac:IsRelateToBattle() or not c:IsRelateToEffect(e) then return false end
local ac=Duel.GetFirstTarget()
if not ac:IsRelateToEffect(e) or not c:IsRelateToEffect(e) or ac:IsStatus(STATUS_BATTLE_DESTROYED) or c:IsStatus(STATUS_BATTLE_DESTROYED) or not ac:IsControler(1-tp) then return false end
local ft1=0
local ft2=0
if c:GetOwner()==tp then
......
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