Commit 0925ed0c authored by wyykak's avatar wyykak

fix 86379860 by gold

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 73417e64
......@@ -87,6 +87,18 @@ function c86379860.initial_effect(c)
e9_1:SetCondition(c86379860.mcon)
e9_1:SetRange(LOCATION_MZONE)
c:RegisterEffect(e9_1)
--control
local e10=Effect.CreateEffect(c)
e10:SetType(EFFECT_TYPE_SINGLE)
e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e10:SetCode(EFFECT_SET_CONTROL)
e10:SetValue(c86379860.sctval)
c:RegisterEffect(e10)
end
--
function c86379860.sctval(e,c)
local tp=e:GetHandler():GetControler()
return tp
end
--
function c86379860.mcon(e,tp,eg,ep,ev,re,r,rp)
......@@ -282,6 +294,8 @@ function c86379860.sop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetProperty(EFFECT_CANNOT_DISABLE)
c:RegisterEffect(e1)
else
Card.SetCardData(c,4,Tpe)
end
end
if tseq==51 then
......@@ -298,6 +312,8 @@ function c86379860.sop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_TURN_SET)
e1:SetProperty(EFFECT_CANNOT_DISABLE)
c:RegisterEffect(e1)
else
Card.SetCardData(c,4,Tpe)
end
end
if tseq==52 then
......
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