Commit 407ce476 authored by DailyShana's avatar DailyShana

fix disable effect of ミレニアム・アイズ・サクリファイス

close Fluorohydride/ygopro-core#291
parent bb07c049
...@@ -133,7 +133,8 @@ function c41578483.distg(e,c) ...@@ -133,7 +133,8 @@ function c41578483.distg(e,c)
end end
function c41578483.discon(e,tp,eg,ep,ev,re,r,rp) function c41578483.discon(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetHandler():GetEquipGroup():Filter(c41578483.disfilter,nil) local g=e:GetHandler():GetEquipGroup():Filter(c41578483.disfilter,nil)
return re:IsActiveType(TYPE_MONSTER) and g:IsExists(Card.IsCode,1,nil,re:GetHandler():GetCode()) local code,type=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TYPE)
return type==TYPE_MONSTER and g:IsExists(Card.IsCode,1,nil,code)
end end
function c41578483.disop(e,tp,eg,ep,ev,re,r,rp) function c41578483.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
......
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