Skip to content

Commit 2ed59cb

Browse files
committed
"Bandiva Duo the Elegy of the Wailing Winds" fix
Fixed a bug where it would count Maxmum monsters incorrectly, which would make it give more ATK than what it should
1 parent 5647d8b commit 2ed59cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rush/c160214027.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
2525
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGraveAsCost,tp,LOCATION_ONFIELD|LOCATION_HAND,0,1,e:GetHandler()) end
2626
end
2727
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
28-
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_HAND|LOCATION_ONFIELD)>0 end
28+
if chk==0 then return Duel.GetFieldGroupCountRush(tp,0,LOCATION_HAND|LOCATION_ONFIELD)>0 end
2929
end
3030
function s.operation(e,tp,eg,ep,ev,re,r,rp)
3131
local c=e:GetHandler()
@@ -34,7 +34,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
3434
local tc=Duel.SelectMatchingCard(tp,Card.IsAbleToGraveAsCost,tp,LOCATION_ONFIELD|LOCATION_HAND,0,1,1,c):GetFirst()
3535
if Duel.SendtoGrave(tc,REASON_COST)==0 then return end
3636
--Effect
37-
local ct=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND|LOCATION_ONFIELD)
37+
local ct=Duel.GetFieldGroupCountRush(tp,0,LOCATION_HAND|LOCATION_ONFIELD)
3838
local e1=Effect.CreateEffect(c)
3939
e1:SetType(EFFECT_TYPE_SINGLE)
4040
e1:SetCode(EFFECT_UPDATE_ATTACK)

0 commit comments

Comments
 (0)