Skip to content

Commit 6ebd2bd

Browse files
committed
"Blackwing - Etesian of Two Swords" fix
Fixed a bug where the player would not be able to activate its effects sometimes
1 parent daee579 commit 6ebd2bd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

official/c78564023.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
--Blackwing - Etesian of Two Swords
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--atkup
5+
--Inflict 1000 Damage to your opponent
66
local e1=Effect.CreateEffect(c)
77
e1:SetDescription(aux.Stringid(id,0))
88
e1:SetCategory(CATEGORY_DAMAGE)
9-
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
9+
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
1010
e1:SetCode(EVENT_DAMAGE_STEP_END)
1111
e1:SetRange(LOCATION_HAND)
1212
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
@@ -20,7 +20,9 @@ s.listed_series={SET_BLACKWING}
2020
function s.condition(e,tp,eg,ep,ev,re,r,rp)
2121
local a=Duel.GetAttacker()
2222
local d=Duel.GetAttackTarget()
23-
return a:IsControler(tp) and a:IsSetCard(SET_BLACKWING) and a:IsRelateToBattle() and d and d:IsRelateToBattle()
23+
return a and d and
24+
((a:IsControler(tp) and a:IsSetCard(SET_BLACKWING) and d:IsRelateToBattle()) or
25+
(d:IsControler(tp) and d:IsSetCard(SET_BLACKWING) and a:IsRelateToBattle()))
2426
end
2527
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
2628
if chk==0 then return true end

0 commit comments

Comments
 (0)