Commit 148a1c39 authored by mercury233's avatar mercury233 Committed by GitHub

fix Heat Wave and Tyrant's Throes (#1897)

parent c43ca9b1
...@@ -25,5 +25,5 @@ function c45141013.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,5 +25,5 @@ function c45141013.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function c45141013.sumlimit(e,c,sump,sumtype,sumpos,targetp) function c45141013.sumlimit(e,c,sump,sumtype,sumpos,targetp)
return c:IsType(TYPE_EFFECT) return c:GetOriginalType()&TYPE_EFFECT>0 and sumtype~=SUMMON_TYPE_DUAL
end end
...@@ -28,5 +28,5 @@ function c55271628.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -28,5 +28,5 @@ function c55271628.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(rg,REASON_COST) Duel.Release(rg,REASON_COST)
end end
function c55271628.sumlimit(e,c,sump,sumtype,sumpos,targetp) function c55271628.sumlimit(e,c,sump,sumtype,sumpos,targetp)
return c:IsLocation(LOCATION_MZONE) or c:IsType(TYPE_EFFECT) return c:GetOriginalType()&TYPE_EFFECT>0 and sumtype~=SUMMON_TYPE_DUAL
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