Commit 3655aeef authored by GuGu's avatar GuGu

Update c66915026.lua 代传

parent 7588a851
Pipeline #18529 passed with stage
in 1 minute and 2 seconds
......@@ -57,12 +57,9 @@ function c66915026.rmop(e,tp,eg,ep,ev,re,r,rp)
if Duel.Remove(c,0,REASON_EFFECT+REASON_TEMPORARY)~=0 then
if Duel.SelectYesNo(tp,aux.Stringid(66915026,10)) then
counter=1
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,0))
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,1))
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,2))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,0))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,1))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,2))
Duel.Hint(24,0,aux.Stringid(66915026,0))
Duel.Hint(24,0,aux.Stringid(66915026,1))
Duel.Hint(24,0,aux.Stringid(66915026,2))
end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......@@ -71,13 +68,6 @@ function c66915026.rmop(e,tp,eg,ep,ev,re,r,rp)
e1:SetOperation(c66915026.retop)
e1:SetCountLimit(1)
e1:SetLabel(counter)
if Duel.GetCurrentPhase()==PHASE_END then
e1:SetReset(RESET_PHASE+PHASE_END,77)
c:RegisterFlagEffect(66915026,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,77)
else
e1:SetReset(RESET_PHASE+PHASE_END,76)
c:RegisterFlagEffect(66915026,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,76)
end
Duel.RegisterEffect(e1,tp)
c:SetTurnCounter(0)
end
......@@ -88,34 +78,27 @@ function c66915026.retop(e,tp,eg,ep,ev,re,r,rp)
ct=ct+1
c:SetTurnCounter(ct)
if ct==15 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,3))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,3))
Duel.Hint(24,0,aux.Stringid(66915026,3))
end
if ct==30 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,4))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,4))
Duel.Hint(24,0,aux.Stringid(66915026,4))
end
if ct==45 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,5))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,5))
Duel.Hint(24,0,aux.Stringid(66915026,5))
end
if ct==60 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,6))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,6))
Duel.Hint(24,0,aux.Stringid(66915026,6))
end
if ct==70 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,7))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,7))
Duel.Hint(24,0,aux.Stringid(66915026,7))
end
if ct==75 and e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(66915026,8))
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(66915026,8))
Duel.Hint(24,0,aux.Stringid(66915026,8))
end
if ct==76 then
if Duel.ReturnToField(e:GetLabelObject())~=0 then
if e:GetLabel()==1 then
Duel.Hint(HINT_MESSAGE,tp,9)
Duel.Hint(HINT_MESSAGE,1-tp,9)
Duel.Hint(24,0,aux.Stringid(66915026,9))
end
local WIN_REASON_STARRETURN=0x374
local p=e:GetHandler():GetControler()
......
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