Commit 7e25b684 authored by POLYMER's avatar POLYMER

fix

parent 4d52c866
......@@ -278,7 +278,7 @@ function cm.thtg2(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_OPSELECTED,tp,e:GetDescription())
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
local ng=Duel.GetMatchingGroup(cm.clfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp,e:GetLabel())
local ag=ng:Filter(Card.IsCanBeEffectTarget,e)
local ag=ng:Filter(Card.IsCanBeEffectTarget,nil,e)
if #ag>0 then Duel.SetTargetCard(ag) end
end
function Group.ForEach(group,func,...)
......
......@@ -234,11 +234,11 @@ function cm.thtg2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
if c:IsOnField() then
local ng=Duel.GetMatchingGroup(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,c)
local ag=ng:GetMinGroup(cm.distance2,c,tp):Filter(Card.IsCanBeEffectTarget,e)
local ag=ng:GetMinGroup(cm.distance2,c,tp):Filter(Card.IsCanBeEffectTarget,nil,e)
if #ag>0 then Duel.SetTargetCard(ag) end
else
local ng=Duel.GetMatchingGroup(cm.gsfilter,tp,LOCATION_GRAVE,0,nil,c)
local ag=ng:Filter(Card.IsCanBeEffectTarget,e)
local ag=ng:Filter(Card.IsCanBeEffectTarget,nil,e)
if #ag>0 then Duel.SetTargetCard(ag) end
end
end
......
This diff is collapsed.
......@@ -40,7 +40,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.thcost2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(703897,tp,ACTIVITY_SPSUMMON)==0
if chk==0 then return Duel.GetCustomActivityCount(60002106,tp,ACTIVITY_SPSUMMON)==0
and aux.bfgcost(e,tp,eg,ep,ev,re,r,rp,0) end
aux.bfgcost(e,tp,eg,ep,ev,re,r,rp,1)
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