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