Commit 2e413b24 authored by sidschingis's avatar sidschingis

fixed not being able to attack while having a Spell/Trap Card in Grave

parent 0791954d
...@@ -77,7 +77,7 @@ function c15335853.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,7 +77,7 @@ function c15335853.rmop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c15335853.atfilter(c) function c15335853.atfilter(c)
return not c:IsSetCard(0x101b) return not c:IsSetCard(0x101b) and c:IsType(TYPE_MONSTER)
end end
function c15335853.atcon(e) function c15335853.atcon(e)
return Duel.IsExistingMatchingCard(c15335853.atfilter,e:GetHandlerPlayer(),LOCATION_GRAVE,0,1,nil) return Duel.IsExistingMatchingCard(c15335853.atfilter,e:GetHandlerPlayer(),LOCATION_GRAVE,0,1,nil)
......
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