Commit 04404be5 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12035008.lua

parent 3f670dba
...@@ -134,7 +134,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -134,7 +134,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if tc then if tc then
Duel.Release(tc,REASON_EFFECT) Duel.Release(tc,REASON_EFFECT)
end end
if op==1 then if op==1 and Duel.IsExistingMatchingCard(Card.IsType,tp,0,LOCATION_MZONE,1,nil,TYPE_MONSTER) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local tc=Duel.SelectMatchingCard(tp,Card.IsType,tp,0,LOCATION_MZONE,1,1,nil,TYPE_MONSTER):GetFirst() local tc=Duel.SelectMatchingCard(tp,Card.IsType,tp,0,LOCATION_MZONE,1,1,nil,TYPE_MONSTER):GetFirst()
local cc=Duel.GetMatchingGroup(Card.IsCode,tp,0,LOCATION_MZONE,nil,tc:GetCode()) local cc=Duel.GetMatchingGroup(Card.IsCode,tp,0,LOCATION_MZONE,nil,tc:GetCode())
......
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