Commit d607cd21 authored by sidschingis's avatar sidschingis

fix

fixed counting Spell/Traps as 1 Attribute
parent abb66085
...@@ -62,8 +62,11 @@ function c43577607.initial_effect(c) ...@@ -62,8 +62,11 @@ function c43577607.initial_effect(c)
e6:SetLabel(5) e6:SetLabel(5)
c:RegisterEffect(e6) c:RegisterEffect(e6)
end end
function c43577607.confilter(c)
return c:IsSetCard(0x9e) and c:IsType(TYPE_MONSTER)
end
function c43577607.effcon(e,tp,eg,ep,ev,re,r,rp) function c43577607.effcon(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsSetCard,tp,LOCATION_GRAVE,0,nil,0x9e) local g=Duel.GetMatchingGroup(c43577607.confilter,tp,LOCATION_GRAVE,0,nil)
return g:GetClassCount(Card.GetAttribute)>=e:GetLabel() return g:GetClassCount(Card.GetAttribute)>=e:GetLabel()
end end
function c43577607.atktg(e,c) function c43577607.atktg(e,c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment