Commit ce742d96 authored by Amiya's avatar Amiya

修复

parent b7085d29
...@@ -35,7 +35,7 @@ function s.thfilter(c,code) ...@@ -35,7 +35,7 @@ function s.thfilter(c,code)
return c:IsCode(code) and c:IsAbleToHand() return c:IsCode(code) and c:IsAbleToHand()
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) function s.disop(e,tp,eg,ep,ev,re,r,rp)
local code=Duel.GetOperationInfo(ev,CATEGORY_ANNOUNCE) local code=Duel.GetChainInfo(ev,CHAININFO_TARGET_PARAM)
if Duel.NegateEffect(ev) if Duel.NegateEffect(ev)
and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,code) and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,code)
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
......
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