Commit 74d2e1b8 authored by GuGu's avatar GuGu

Update c34036.lua

parent 214f7446
Pipeline #33390 passed with stage
in 7 seconds
...@@ -61,7 +61,7 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -61,7 +61,7 @@ function s.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(s.ctfilter,opp_tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(s.ctfilter,opp_tp,LOCATION_MZONE,0,nil)
if #g==0 then return false end if #g==0 then return false end
local maxatk=g:GetMaxGroup(Card.GetAttack):GetFirst() local maxatk=g:GetMaxGroup(Card.GetAttack):GetFirst()
return maxatk and e:GetHandler():IsOnField() and seq<=4 and Duel.CheckLocation(tp,LOCATION_MZONE,seq) return maxatk and e:GetHandler():IsOnField() and seq<=4 and Duel.CheckLocation(ctrl_tp,LOCATION_MZONE,seq)
end end
local g=Duel.GetMatchingGroup(s.ctfilter,opp_tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(s.ctfilter,opp_tp,LOCATION_MZONE,0,nil)
local maxatk=g:GetMaxGroup(Card.GetAttack) local maxatk=g:GetMaxGroup(Card.GetAttack)
...@@ -76,7 +76,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
local zone=1<<seq local zone=1<<seq
local g=Duel.GetMatchingGroup(Card.IsFaceup,opp_tp,LOCATION_MZONE,0,nil) local g=Duel.GetMatchingGroup(Card.IsFaceup,opp_tp,LOCATION_MZONE,0,nil)
if #g==0 and not (c:IsOnField() and seq<=4 and Duel.CheckLocation(tp,LOCATION_MZONE,seq)) then return end if #g==0 and not (c:IsOnField() and seq<=4 and Duel.CheckLocation(ctrl_tp,LOCATION_MZONE,seq)) then return end
-- 获取最高攻击力怪兽 -- 获取最高攻击力怪兽
local maxatk=g:GetMaxGroup(Card.GetAttack) local maxatk=g:GetMaxGroup(Card.GetAttack)
......
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