Commit ddaaeb03 authored by salix5's avatar salix5

fix 時械神

Battled: e:GetHandler():GetBattledGroupCount()>0
parent 0b41d5e2
......@@ -71,7 +71,7 @@ function c33015627.ntcon(e,c,minc)
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
end
function c33015627.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattledGroupCount()>0 or e:GetHandler():GetAttackedCount()>0
return e:GetHandler():GetBattledGroupCount()>0
end
function c33015627.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -61,7 +61,7 @@ function c34137269.ntcon(e,c,minc)
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
end
function c34137269.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattledGroupCount()>0 or e:GetHandler():GetAttackedCount()>0
return e:GetHandler():GetBattledGroupCount()>0
end
function c34137269.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -63,7 +63,7 @@ function c60222213.damfilter(c,e)
return c:IsFaceup() and e:GetHandler():GetBattledGroup():IsContains(c)
end
function c60222213.damcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattledGroupCount()>0 or e:GetHandler():GetAttackedCount()>0
return e:GetHandler():GetBattledGroupCount()>0
end
function c60222213.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -61,7 +61,7 @@ function c6616912.ntcon(e,c,minc)
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
end
function c6616912.tdcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattledGroupCount()>0 or e:GetHandler():GetAttackedCount()>0
return e:GetHandler():GetBattledGroupCount()>0
end
function c6616912.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
......@@ -42,7 +42,7 @@ function c67508932.initial_effect(c)
end
function c67508932.rmcond(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsSummonLocation(LOCATION_EXTRA) and c:IsRelateToBattle()
return c:IsSummonLocation(LOCATION_EXTRA) and c:GetBattledGroupCount()>0
end
function c67508932.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,0,LOCATION_MZONE,1,nil) end
......
......@@ -58,7 +58,7 @@ function c7733560.ntcon(e,c,minc)
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
end
function c7733560.lpcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetBattledGroupCount()>0 or e:GetHandler():GetAttackedCount()>0
return e:GetHandler():GetBattledGroupCount()>0
end
function c7733560.lpop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetLP(1-tp,math.ceil(Duel.GetLP(1-tp)/2))
......
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