Commit 4de8d409 authored by VanillaSalt's avatar VanillaSalt

update

parent c858f7c3
......@@ -28,14 +28,19 @@ function c54719828.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(1,1)
if e:GetLabel()==0 then
e1:SetDescription(aux.Stringid(54719828,2))
e1:SetValue(c54719828.aclimit1)
elseif e:GetLabel()==1 then
e1:SetDescription(aux.Stringid(54719828,3))
e1:SetValue(c54719828.aclimit2)
else e1:SetValue(c54719828.aclimit3) end
else
e1:SetDescription(aux.Stringid(54719828,4))
e1:SetValue(c54719828.aclimit3)
end
e1:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,1)
Duel.RegisterEffect(e1,tp)
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