Commit a6cdc33a authored by wind2009's avatar wind2009
parents 91f8dfba 0ec7f035
...@@ -65,7 +65,7 @@ function s.codeop(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function s.codeop(e,tp,eg,ep,ev,re,r,rp)
end end
function s.discon(e,tp,eg,ep,ev,re,r,rp) function s.discon(e,tp,eg,ep,ev,re,r,rp)
local code,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2) local code,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return rp==1-tp and (code==id+o or code2==id+o) return rp==1-tp and (code==id+o or code2==id+o or re:GetHandler():IsCode(id+o))
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) function s.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,id) Duel.Hint(HINT_CARD,0,id)
......
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