From 247821daa6d98d638b510b0d792e66e7941dc7ef Mon Sep 17 00:00:00 2001 From: Lyris Date: Wed, 19 Jun 2024 12:55:57 -0400 Subject: [PATCH] fix `Berserk Archfiend` Neither effect was considered to target --- scripts/PHNI-JP/c101203027.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/PHNI-JP/c101203027.lua b/scripts/PHNI-JP/c101203027.lua index b403bf44b..77b80f863 100644 --- a/scripts/PHNI-JP/c101203027.lua +++ b/scripts/PHNI-JP/c101203027.lua @@ -6,6 +6,7 @@ function s.initial_effect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) + e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,id) e1:SetTarget(s.sptg) @@ -18,6 +19,7 @@ function s.initial_effect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e2:SetRange(LOCATION_MZONE) e2:SetCode(EVENT_CUSTOM+id) + e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetCondition(s.atkcon) e2:SetTarget(s.atktg) e2:SetOperation(s.atkop)