Skip to content

Commit db7a0d7

Browse files
authored
"Fire Whip" fix
Prevent script errors due to a missing parameter in one of its filters
1 parent 160309a commit db7a0d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unofficial/c511000672.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
--Fire Whip
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--Special Summon all monsters that were destroyed this turn to your field
66
local e1=Effect.CreateEffect(c)
7+
e1:SetDescription(aux.Stringid(id,0))
78
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
89
e1:SetType(EFFECT_TYPE_ACTIVATE)
910
e1:SetCode(EVENT_FREE_CHAIN)
@@ -13,7 +14,7 @@ function s.initial_effect(c)
1314
c:RegisterEffect(e1)
1415
end
1516
local LOCATION_HDGRE=LOCATION_HAND|LOCATION_DECK|LOCATION_GRAVE|LOCATION_REMOVED|LOCATION_EXTRA
16-
function s.confilter()
17+
function s.confilter(c)
1718
return c:IsFaceup() and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsRace(RACE_FIEND)
1819
end
1920
function s.spfilter(c,e,tp,tid)

0 commit comments

Comments
 (0)