Skip to content

Commit ff6307b

Browse files
committed
"Chimeratech Crush Dragon" fix
- Fixed a bug where it could increase the ATK of non-Machine monsters - Fixed a bug where it would not reset the ATK increase effect even after leaving the field.
1 parent b1a1ecc commit ff6307b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

rush/c160214031.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--fusion material
7+
--Fusion Materials: "Cyber Dragon" + 2 or more Machine Type monsters
88
Fusion.AddProcMixRep(c,true,true,aux.FilterBoolFunctionEx(Card.IsRace,RACE_MACHINE),2,99,CARD_CYBER_DRAGON)
99
--Monsters you control cannot be destroyed by Spell effects
1010
local e1=Effect.CreateEffect(c)
@@ -29,12 +29,14 @@ function s.efilter(e,te)
2929
end
3030
function s.sucop(e,tp,eg,ep,ev,re,r,rp)
3131
local c=e:GetHandler()
32-
--Gain ATK
32+
--Face-up Machine Type monsters on your field gain ATK equal to [the number of monsters used as material for this card's Fusion Summon] x 100.
3333
local e1=Effect.CreateEffect(c)
3434
e1:SetType(EFFECT_TYPE_FIELD)
3535
e1:SetCode(EFFECT_UPDATE_ATTACK)
3636
e1:SetRange(LOCATION_MZONE)
3737
e1:SetTargetRange(LOCATION_MZONE,0)
38+
e1:SetTarget(aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE))
3839
e1:SetValue(c:GetMaterialCount()*100)
40+
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
3941
c:RegisterEffect(e1)
4042
end

0 commit comments

Comments
 (0)