Skip to content

Commit f1f2edc

Browse files
committed
various rush fixes
1 parent 9e1f8e7 commit f1f2edc

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

rush/c160014034.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
2323
Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,2,tp,0)
2424
end
2525
function s.atkfilter(c)
26-
return c:IsMonster() and c:IsFaceup() and c:GetAttack()>0
26+
return c:IsMonster() and c:IsFaceup()
2727
end
2828
function s.operation(e,tp,eg,ep,ev,re,r,rp)
2929
if Duel.DiscardDeck(tp,2,REASON_EFFECT)==0 then return end

rush/c160020055.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5959
e2:SetCondition(s.otcon1)
6060
e2:SetTarget(aux.FieldSummonProcTg(s.ottg1,s.sumtg1))
6161
e2:SetOperation(s.otop)
62+
e2:SetValue(SUMMON_TYPE_TRIBUTE)
6263
e2:SetReset(RESET_PHASE|PHASE_END)
6364
Duel.RegisterEffect(e2,tp)
6465
local e3=Effect.CreateEffect(c)
@@ -69,6 +70,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
6970
e3:SetCondition(s.otcon2)
7071
e3:SetTarget(aux.FieldSummonProcTg(s.ottg2,s.sumtg2))
7172
e3:SetOperation(s.otop)
73+
e3:SetValue(SUMMON_TYPE_TRIBUTE)
7274
e3:SetReset(RESET_PHASE|PHASE_END)
7375
Duel.RegisterEffect(e3,tp)
7476
end

rush/c160021014.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
3636
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
3737
local tc=Duel.SelectMatchingCard(tp,s.rvlfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
3838
Duel.ConfirmCards(1-tp,tc)
39+
Duel.ShuffleHand(tp)
3940
--Effect
4041
Duel.DiscardDeck(tp,3,REASON_EFFECT)
4142
if Duel.GetOperatedGroup():FilterCount(s.cfilter,nil)>0

rush/c160434003.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
1919
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,2) end
2020
end
2121
function s.atkfilter(c)
22-
return c:IsMonster() and c:IsFaceup() and c:GetAttack()>0
22+
return c:IsMonster() and c:IsFaceup()
2323
end
2424
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
2525
if chk==0 then return Duel.IsExistingMatchingCard(aux.FilterMaximumSideFunctionEx(s.atkfilter),tp,0,LOCATION_MZONE,1,e:GetHandler()) end

0 commit comments

Comments
 (0)