Skip to content

Commit 5004b61

Browse files
committed
"Garura, Wings of Resonant Life" fix
Fixed a bug where incorrect materials could be used when effects that change the properties of fusion materials were applied (e.g. Predaplant Chlamydosundew)
1 parent bfc465b commit 5004b61

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

official/c11765832.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
7-
--Fusion Summon Procedure
7+
--Fusion materials: 2 monsters with the same Type and Attribute, but different names
88
Fusion.AddProcMixN(c,true,true,s.ffilter,2)
9-
--Double battle damage
9+
--Any battle damage your opponent takes from battles involving this card is doubled
1010
local e1=Effect.CreateEffect(c)
1111
e1:SetType(EFFECT_TYPE_SINGLE)
1212
e1:SetCode(EFFECT_CHANGE_BATTLE_DAMAGE)
1313
e1:SetValue(aux.ChangeBattleDamage(1,DOUBLE_DAMAGE))
1414
c:RegisterEffect(e1)
15-
--Draw 1 card when sent to the GY
15+
--Draw 1 card
1616
local e2=Effect.CreateEffect(c)
1717
e2:SetDescription(aux.Stringid(id,0))
1818
e2:SetCategory(CATEGORY_DRAW)
@@ -25,8 +25,8 @@ function s.initial_effect(c)
2525
c:RegisterEffect(e2)
2626
end
2727
function s.ffilter(c,fc,sumtype,sump,sub,matg,sg)
28-
return not sg or sg:FilterCount(aux.TRUE,c)==0 or (sg:IsExists(Card.IsAttribute,1,c,c:GetAttribute(),fc,sumtype,sump)
29-
and sg:IsExists(Card.IsRace,1,c,c:GetRace(),fc,sumtype,sump)
28+
return not sg or sg:FilterCount(aux.TRUE,c)==0 or (sg:IsExists(Card.IsAttribute,1,c,c:GetAttribute(fc,sumtype,sump),fc,sumtype,sump)
29+
and sg:IsExists(Card.IsRace,1,c,c:GetRace(fc,sumtype,sump),fc,sumtype,sump)
3030
and not sg:IsExists(s.fusfilter,1,c,c:GetCode(fc,sumtype,sump),fc,sumtype,sump))
3131
end
3232
function s.fusfilter(c,code,fc,sumtype,sump)

0 commit comments

Comments
 (0)