Commit 061fb9bd authored by DailyShana's avatar DailyShana

fix

parent a6e29b58
...@@ -66,7 +66,7 @@ function c29834183.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c29834183.eqop(e,tp,eg,ep,ev,re,r,rp)
e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e4:SetCode(EVENT_LEAVE_FIELD) e4:SetCode(EVENT_LEAVE_FIELD)
e4:SetOperation(c29834183.desop) e4:SetOperation(c29834183.desop)
e4:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_LEAVE) e4:SetReset(RESET_EVENT+RESET_OVERLAY+RESET_TOFIELD)
e4:SetLabelObject(e3) e4:SetLabelObject(e3)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -77,6 +77,7 @@ function c29834183.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,6 +77,7 @@ function c29834183.checkop(e,tp,eg,ep,ev,re,r,rp)
else e:SetLabel(0) end else e:SetLabel(0) end
end end
function c29834183.desop(e,tp,eg,ep,ev,re,r,rp) function c29834183.desop(e,tp,eg,ep,ev,re,r,rp)
e:Reset()
if e:GetLabelObject():GetLabel()~=0 then return end if e:GetLabelObject():GetLabel()~=0 then return end
local tc=e:GetHandler():GetEquipTarget() local tc=e:GetHandler():GetEquipTarget()
if tc and tc:IsLocation(LOCATION_MZONE) then if tc and tc:IsLocation(LOCATION_MZONE) then
......
...@@ -66,7 +66,7 @@ function c66451379.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c66451379.eqop(e,tp,eg,ep,ev,re,r,rp)
e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e4:SetCode(EVENT_LEAVE_FIELD) e4:SetCode(EVENT_LEAVE_FIELD)
e4:SetOperation(c66451379.desop) e4:SetOperation(c66451379.desop)
e4:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_LEAVE) e4:SetReset(RESET_EVENT+RESET_OVERLAY+RESET_TOFIELD)
e4:SetLabelObject(e3) e4:SetLabelObject(e3)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -77,6 +77,7 @@ function c66451379.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,6 +77,7 @@ function c66451379.checkop(e,tp,eg,ep,ev,re,r,rp)
else e:SetLabel(0) end else e:SetLabel(0) end
end end
function c66451379.desop(e,tp,eg,ep,ev,re,r,rp) function c66451379.desop(e,tp,eg,ep,ev,re,r,rp)
e:Reset()
if e:GetLabelObject():GetLabel()~=0 then return end if e:GetLabelObject():GetLabel()~=0 then return end
local tc=e:GetHandler():GetEquipTarget() local tc=e:GetHandler():GetEquipTarget()
if tc and tc:IsLocation(LOCATION_MZONE) then if tc and tc:IsLocation(LOCATION_MZONE) then
......
...@@ -104,7 +104,8 @@ function c69831560.arcanareg(c,coin) ...@@ -104,7 +104,8 @@ function c69831560.arcanareg(c,coin)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_LEAVE_FIELD) e4:SetCode(EVENT_LEAVE_FIELD)
e4:SetOperation(c69831560.desop2) e4:SetOperation(c69831560.desop2)
e4:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_LEAVE) e4:SetReset(RESET_EVENT+RESET_OVERLAY+RESET_TOFIELD)
e4:SetLabelObject(e3)
c:RegisterEffect(e4) c:RegisterEffect(e4)
c:RegisterFlagEffect(36690018,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,coin,63-coin) c:RegisterFlagEffect(36690018,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,coin,63-coin)
end end
...@@ -129,12 +130,13 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp) ...@@ -129,12 +130,13 @@ function c69831560.posop(e,tp,eg,ep,ev,re,r,rp)
end end
function c69831560.desop1(e,tp,eg,ep,ev,re,r,rp) function c69831560.desop1(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsReason(REASON_DESTROY) and e:GetHandler():GetFlagEffectLabel(36690018)==0 then if e:GetHandler():IsReason(REASON_DESTROY) and e:GetHandler():GetFlagEffectLabel(36690018)==0 then
e:GetHandler():RegisterFlagEffect(69831560,RESET_EVENT+RESETS_STANDARD-RESET_LEAVE,0,1) e:SetLabel(1)
end else e:SetLabel(0) end
end end
function c69831560.desop2(e,tp,eg,ep,ev,re,r,rp) function c69831560.desop2(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():GetFlagEffect(69831560)~=0 then if e:GetLabelObject():GetLabel()~=0 then
local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD) local g=Duel.GetFieldGroup(tp,LOCATION_ONFIELD,LOCATION_ONFIELD)
Duel.Destroy(g,REASON_EFFECT) Duel.Destroy(g,REASON_EFFECT)
end end
e:Reset()
end end
...@@ -66,7 +66,7 @@ function c93445074.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -66,7 +66,7 @@ function c93445074.eqop(e,tp,eg,ep,ev,re,r,rp)
e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE) e4:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e4:SetCode(EVENT_LEAVE_FIELD) e4:SetCode(EVENT_LEAVE_FIELD)
e4:SetOperation(c93445074.desop) e4:SetOperation(c93445074.desop)
e4:SetReset(RESET_EVENT+RESETS_STANDARD-RESET_LEAVE) e4:SetReset(RESET_EVENT+RESET_OVERLAY+RESET_TOFIELD)
e4:SetLabelObject(e3) e4:SetLabelObject(e3)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -77,6 +77,7 @@ function c93445074.checkop(e,tp,eg,ep,ev,re,r,rp) ...@@ -77,6 +77,7 @@ function c93445074.checkop(e,tp,eg,ep,ev,re,r,rp)
else e:SetLabel(0) end else e:SetLabel(0) end
end end
function c93445074.desop(e,tp,eg,ep,ev,re,r,rp) function c93445074.desop(e,tp,eg,ep,ev,re,r,rp)
e:Reset()
if e:GetLabelObject():GetLabel()~=0 then return end if e:GetLabelObject():GetLabel()~=0 then return end
local tc=e:GetHandler():GetEquipTarget() local tc=e:GetHandler():GetEquipTarget()
if tc and tc:IsLocation(LOCATION_MZONE) then if tc and tc:IsLocation(LOCATION_MZONE) 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