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