Commit 251126fb authored by DailyShana's avatar DailyShana

fix グレイドル・コンバット

https://www.db.yugioh-card.com/yugiohdb/faq_search.action?ope=5&fid=19520&keyword=&tag=-1
「対象のモンスター1体を破壊する」という処理が行われた後、処理が完了した魔法・罠カードとして、通常魔法や通常罠カードなどのように、一連の処理後に墓地へ送られる事になります。
parent b8c0e2b6
...@@ -56,11 +56,9 @@ function c84442536.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,11 +56,9 @@ function c84442536.activate(e,tp,eg,ep,ev,re,r,rp)
end end
function c84442536.repop(e,tp,eg,ep,ev,re,r,rp) function c84442536.repop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:GetType()==TYPE_SPELL or c:GetType()==TYPE_TRAP then
c:CancelToGrave(false)
end
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and Duel.Destroy(tc,REASON_EFFECT)~=0
Duel.Destroy(tc,REASON_EFFECT) and c:IsType(TYPE_SPELL+TYPE_TRAP) then
c:CancelToGrave(false)
end end
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