Commit 04ba2782 authored by wind2009's avatar wind2009

Fix 大紅蓮魔闘士

parent 42a7ebb0
Pipeline #30702 passed with stages
in 1 minute and 30 seconds
......@@ -60,12 +60,12 @@ function s.spsop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.HintSelection(gg)
end
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_SPSUMMON)
local atk=g:Filter(Card.IsLocation,nil,LOCATION_DECK):Filter(Card.IsType,nil,TYPE_NORMAL)
local ag=g:Filter(Card.IsLocation,nil,LOCATION_DECK):Filter(Card.IsType,nil,TYPE_NORMAL)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetReset(RESET_EVENT+0xff0000)
e1:SetValue(g:GetCount()*800)
e1:SetValue(ag:GetCount()*800)
c:RegisterEffect(e1)
g:DeleteGroup()
end
......
......@@ -43,7 +43,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp) end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
Duel.SetOperationInfo(0,CATEGORY_COIN,nil,0,tp,0)
end
function s.atkfilter(c,e)
......
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