Skip to content

Commit a3ffe1a

Browse files
committed
"Diabellstar the Sin Adjudicator" fix
- fixed a bug where it would be able to banish 2 cards with the same type
1 parent 43ce9e7 commit a3ffe1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-release/c101208011.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
function s.selfspcost(e,tp,eg,ep,ev,re,r,rp,chk)
3737
local g=Duel.GetMatchingGroup(s.rmcostfilter,tp,LOCATION_HAND|LOCATION_GRAVE,0,e:GetHandler())
3838
if chk==0 then return #g>=2 and aux.SelectUnselectGroup(g,e,tp,2,2,aux.dpcheck(Card.GetType),0) end
39-
local rg=aux.SelectUnselectGroup(g,e,tp,2,2,aux.dpcheck(Card.GetType),1,tp,HINTMSG_REMOVE)
39+
local rg=aux.SelectUnselectGroup(g,e,tp,2,2,aux.dpcheck(Card.GetMainCardType),1,tp,HINTMSG_REMOVE)
4040
Duel.Remove(rg,POS_FACEUP,REASON_COST)
4141
end
4242
function s.selfsptg(e,tp,eg,ep,ev,re,r,rp,chk)

0 commit comments

Comments
 (0)