Commit c6f03e36 authored by Nemo Ma's avatar Nemo Ma

fix

parent fa178451
......@@ -120,6 +120,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -76,6 +76,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -74,6 +74,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -93,6 +93,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -76,6 +76,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -82,6 +82,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -85,6 +85,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetCountLimit(1)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
end
end
......
......@@ -16,7 +16,7 @@ function cm.initial_effect(c)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,0))
e23:SetCategory(CATEGORY_DESTROY)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetTarget(cm.thtg2)
......@@ -153,6 +153,7 @@ function cm.thop2(e,tp,eg,ep,ev,re,r,rp)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
e4:SetRange(LOCATION_SZONE)
e4:SetOperation(cm.ccost)
e4:SetReset(RESET_EVENT+RESETS_REDIRECT)
c:RegisterEffect(e4)
if Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
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