Commit 8fcae6eb authored by VanillaSalt's avatar VanillaSalt

fix

parent cbd6a909
...@@ -114,7 +114,7 @@ function c11221418.resetcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -114,7 +114,7 @@ function c11221418.resetcon(e,tp,eg,ep,ev,re,r,rp)
local e4=e5:GetLabelObject() local e4=e5:GetLabelObject()
local e3=e4:GetLabelObject() local e3=e4:GetLabelObject()
local e2=e3:GetLabelObject() local e2=e3:GetLabelObject()
local e1:e2:GetLabelObject() local e1=e2:GetLabelObject()
return Duel.GetTurnPlayer()==tp and e1:GetLabel()==2 return Duel.GetTurnPlayer()==tp and e1:GetLabel()==2
end end
function c11221418.resetop(e,tp,eg,ep,ev,re,r,rp) function c11221418.resetop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -41,8 +41,9 @@ function c93671934.filter(c) ...@@ -41,8 +41,9 @@ function c93671934.filter(c)
return c:GetEquipTarget()~=nil or c:IsReason(REASON_LOST_TARGET) return c:GetEquipTarget()~=nil or c:IsReason(REASON_LOST_TARGET)
end end
function c93671934.damcon(e,tp,eg,ep,ev,re,r,rp) function c93671934.damcon(e,tp,eg,ep,ev,re,r,rp)
local flag=0
local g=eg:Filter(c93671934.filter,nil) local g=eg:Filter(c93671934.filter,nil)
if g:GetCount()==0 then return false end
local flag=0
if g:IsExists(Card.IsControler,1,nil,0) then flag=flag+1 end if g:IsExists(Card.IsControler,1,nil,0) then flag=flag+1 end
if g:IsExists(Card.IsControler,1,nil,1) then flag=flag+2 end if g:IsExists(Card.IsControler,1,nil,1) then flag=flag+2 end
e:SetLabel(({0,1,PLAYER_ALL})[flag]) e:SetLabel(({0,1,PLAYER_ALL})[flag])
......
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