Skip to content

Commit 174b530

Browse files
committed
fixed Dark Sorcerer of Destruction and Harpie Lady 1 & 2 & 3
1 parent 3c3adfe commit 174b530

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rush/c160021004.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function s.initial_effect(c)
99
e1:SetType(EFFECT_TYPE_IGNITION)
1010
e1:SetRange(LOCATION_MZONE)
1111
e1:SetCountLimit(1)
12+
e1:SetCondition(function(e)return e:GetHandler():IsStatus(STATUS_SUMMON_TURN)end)
1213
e1:SetCost(s.cost)
1314
e1:SetTarget(s.target)
1415
e1:SetOperation(s.operation)

rush/c160214032.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ function s.initial_effect(c)
3838
c:RegisterEffect(e4)
3939
end
4040
s.listed_names={CARD_HARPIE_LADY}
41+
function s.filter(c)
42+
return c:IsFaceup() and c:IsAbleToDeckOrExtraAsCost() and not c:IsHasEffect(EFFECT_CANNOT_BE_FUSION_MATERIAL)
43+
end
4144
function s.contactfil(tp)
42-
return Duel.GetMatchingGroup(aux.FaceupFilter(Card.IsAbleToDeckOrExtraAsCost),tp,LOCATION_ONFIELD,0,nil)
45+
return Duel.GetMatchingGroup(s.filter,tp,LOCATION_ONFIELD,0,nil)
4346
end
4447
function s.contactop(g,tp)
4548
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_COST+REASON_MATERIAL)

0 commit comments

Comments
 (0)