Skip to content

Commit 06fb1ac

Browse files
authored
Rush card updates (#1279)
Fixed/replaced declarations of CARD_ALPHA_COUNT with the correct ID of the card Fixed "Evil Hero Lightning Golem" being unable to resolve properly Fixed "Praime Nova" not able to be activated in response to a Special Summon
1 parent 77d6b6d commit 06fb1ac

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

‎card_counter_constants.lua‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ SUMMON_WITH_MONSTER_REBORN = 1010
166166
--Commonly used Rush Cards
167167
CARD_AMALILITH = 160428037
168168
CARD_ALPHA_BURN_DRAKE = 160315024
169-
CARD_ALPHA_COUNT = 160016048
169+
CARD_ALPHA_COUNT = 160027003
170170
CARD_BIG_UMI = 160003050
171171
CARD_BLUETOOTH_B_DRAGON = 160010101
172172
CARD_CAN_D = 160005002
@@ -198,6 +198,7 @@ CARD_TASTE_INSPECTOR = 160007008
198198
CARD_TRANSAMU_RAINAC = 160425001
199199
CARD_UNIFORM_39 = 160007028
200200
CARD_UNIFORM_99 = 160007027
201+
CARD_UPDATE_MAINTENANCE = 160027049
201202
CARD_UPSTART_GOBLIN = 70368879
202203

203204
--Commonly used Skill Cards

‎rush/c160027009.lua‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
--scripted by Cybercatman
44
local s,id=GetID()
55
local CARD_ALPHA_BURN_DRAKE = 160315024
6-
local CARD_ALPHA_COUNT = 160016048
76
function s.initial_effect(c)
87
--This card's name becomes "Alpha Count" while in the Graveyard
98
local e0=Effect.CreateEffect(c)
@@ -41,4 +40,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4140
if #sg>0 then
4241
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
4342
end
44-
end
43+
end

‎rush/c160027010.lua‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
--Alpha Burn Wyvern
33
--scripted by Cybercatman
44
local s,id=GetID()
5-
local CARD_ALPHA_COUNT = 160016048
65
function s.initial_effect(c)
76
--This card's name becomes "Alpha Count" while in the Graveyard
87
local e0=Effect.CreateEffect(c)
@@ -57,4 +56,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
5756
Duel.MoveToDeckBottom(ct,tp)
5857
Duel.SortDeckbottom(tp,tp,ct)
5958
end
60-
end
59+
end

‎rush/c160461023.lua‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function s.initial_effect(c)
2121
e2:SetRange(LOCATION_MZONE)
2222
e2:SetCountLimit(1)
2323
e2:SetTarget(s.target)
24-
e1:SetOperation(s.operation)
24+
e2:SetOperation(s.operation)
2525
c:RegisterEffect(e2)
2626
end
2727
s.material_setcode={SET_HERO,SET_ELEMENTAL_HERO}
@@ -43,4 +43,4 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
4343
Duel.HintSelection(sg)
4444
Duel.Destroy(sg,REASON_EFFECT)
4545
end
46-
end
46+
end

‎rush/c160461047.lua‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ function s.initial_effect(c)
2121
e1:SetTarget(s.target)
2222
e1:SetOperation(s.activate)
2323
c:RegisterEffect(e1)
24+
--Same as above, but for special summons
25+
local e2=e1:Clone()
26+
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
27+
c:RegisterEffect(e2)
2428
end
2529
s.listed_names={CARD_PRAIME_CALL}
2630
function s.cfilter(c)
@@ -48,4 +52,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4852
e1:SetValue(-1600)
4953
tc:RegisterEffect(e1)
5054
end
51-
end
55+
end

0 commit comments

Comments
 (0)