Commit 9e2a7b45 authored by wind2009's avatar wind2009 Committed by GitHub

Fix ライトロード・ウォリアー ガロス (#2297)

Effect will be solved even if it's not on field.
parent 1823221c
...@@ -29,8 +29,6 @@ function c59019082.filter(c) ...@@ -29,8 +29,6 @@ function c59019082.filter(c)
return c:IsLocation(LOCATION_GRAVE) and c:IsSetCard(0x38) and c:IsType(TYPE_MONSTER) return c:IsLocation(LOCATION_GRAVE) and c:IsSetCard(0x38) and c:IsType(TYPE_MONSTER)
end end
function c59019082.operation(e,tp,eg,ep,ev,re,r,rp) function c59019082.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsControler(1-tp) or not c:IsRelateToEffect(e) or c:IsFacedown() then return end
Duel.DiscardDeck(tp,2,REASON_EFFECT) Duel.DiscardDeck(tp,2,REASON_EFFECT)
local dg=Duel.GetOperatedGroup() local dg=Duel.GetOperatedGroup()
local d=dg:FilterCount(c59019082.filter,nil) local d=dg:FilterCount(c59019082.filter,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