Skip to content

Commit 038d593

Browse files
committed
Fix Firebird (GOAT)
1 parent 6fbb544 commit 038d593

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

goat/c504700005.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function s.initial_effect(c)
3333
end
3434
s.listed_names={27288416}
3535
function s.cfilter(c,tp)
36-
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
36+
return not c:IsReason(REASON_BATTLE) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
3737
and c:IsPreviousControler(tp) and c:IsRace(RACE_FAIRY)
3838
end
3939
function s.regcon(e,tp,eg,ep,ev,re,r,rp)

goat/c504700097.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function s.initial_effect(c)
2020
c:RegisterEffect(e2)
2121
end
2222
function s.cfilter(c)
23-
return not c:IsBattleDestroyed() and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
23+
return not c:IsReason(REASON_BATTLE) and c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousPosition(POS_FACEUP)
2424
and (c:GetPreviousRaceOnField()&RACE_BEAST)~=0
2525
end
2626
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)

goat/c504700151.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ function s.initial_effect(c)
1616
c:RegisterEffect(e1)
1717
local e2=e1:Clone()
1818
e2:SetCode(EVENT_BATTLED)
19-
e2:SetCondition(s.atkcon)
19+
e2:SetCondition(s.atkcon2)
2020
c:RegisterEffect(e2)
2121
end
2222
function s.cfilter(c,tp)
23-
return not c:IsBattleDestroyed() and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE)
23+
return not c:IsReason(REASON_BATTLE) and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE)
2424
and c:IsPreviousPosition(POS_FACEUP) and (c:GetPreviousRaceOnField()&RACE_WINGEDBEAST)~=0
2525
end
2626
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)

0 commit comments

Comments
 (0)