Commit 8ec870ce authored by dest's avatar dest Committed by nanahira

fix Hysteric Party + Exodius (#1042)

* fix ヒステリック・パーティー

* fix 究極封印神エクゾディオス
parent 2b92a28f
...@@ -92,7 +92,7 @@ end ...@@ -92,7 +92,7 @@ end
function c13893596.winop(e,tp,eg,ep,ev,re,r,rp) function c13893596.winop(e,tp,eg,ep,ev,re,r,rp)
local WIN_REASON_EXODIUS = 0x14 local WIN_REASON_EXODIUS = 0x14
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetMatchingGroup(c13893596.filter,tp,LOCATION_GRAVE,0,nil,aux.ExceptThisCard(e)) local g=Duel.GetMatchingGroup(c13893596.filter,tp,LOCATION_GRAVE,0,nil,c)
if g:GetClassCount(Card.GetCode)==5 then if g:GetClassCount(Card.GetCode)==5 then
Duel.Win(tp,WIN_REASON_EXODIUS) Duel.Win(tp,WIN_REASON_EXODIUS)
end end
......
...@@ -50,6 +50,6 @@ function c77778835.desfilter(c,rc) ...@@ -50,6 +50,6 @@ function c77778835.desfilter(c,rc)
return rc:IsHasCardTarget(c) return rc:IsHasCardTarget(c)
end end
function c77778835.desop(e,tp,eg,ep,ev,re,r,rp) function c77778835.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c77778835.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,aux.ExceptThisCard(e)) local g=Duel.GetMatchingGroup(c77778835.desfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,e:GetHandler())
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
end end
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