Commit 3cf72bd7 authored by POLYMER's avatar POLYMER

fix

parent cbaf167d
...@@ -127,7 +127,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -127,7 +127,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
if ce and aux.GetValueType(ce)=="Effect" then de:SetLabelObject(ce) end if ce and aux.GetValueType(ce)=="Effect" then de:SetLabelObject(ce) end
end end
function cm.recon(e,tp,eg,ep,ev,re,r,rp) function cm.recon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) return re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp==tp
end end
local KOISHI_CHECK=false local KOISHI_CHECK=false
if Duel.DisableActionCheck then KOISHI_CHECK=true end if Duel.DisableActionCheck then KOISHI_CHECK=true end
...@@ -142,7 +142,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp) ...@@ -142,7 +142,7 @@ function cm.reop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,2)) Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(m,2))
local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,0,1,1,nil)
if #g>0 then if #g>0 then
--Duel.HintSelection(g) Duel.HintSelection(g)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(m,4)) e1:SetDescription(aux.Stringid(m,4))
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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