Commit 4a96718d authored by DailyShana's avatar DailyShana

fix

parent 0505eff0
...@@ -16,6 +16,7 @@ function c86780027.initial_effect(c) ...@@ -16,6 +16,7 @@ function c86780027.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c86780027.tg(e,c) function c86780027.tg(e,c)
local tp=e:GetHandlerPlayer()
local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_MONSTER) local g=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_GRAVE,0,nil,TYPE_MONSTER)
if g:GetCount()==0 or g:GetClassCount(Card.GetOriginalRace)>1 then return false end if g:GetCount()==0 or g:GetClassCount(Card.GetOriginalRace)>1 then return false end
return c:IsRace(g:GetFirst():GetOriginalRace()) return c:IsRace(g:GetFirst():GetOriginalRace())
......
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