Commit 50847720 authored by mercury233's avatar mercury233 Committed by GitHub

fix デーモンの杖

parent 3ac26006
...@@ -74,16 +74,13 @@ function c21438286.cfop(e,tp,eg,ep,ev,re,r,rp) ...@@ -74,16 +74,13 @@ function c21438286.cfop(e,tp,eg,ep,ev,re,r,rp)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
e1:SetValue(-d) e1:SetValue(-d)
sc:RegisterEffect(e1) sc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPDATE_DEFENSE)
sc:RegisterEffect(e2)
sc=g:GetNext() sc=g:GetNext()
end end
end end
end end
function c21438286.thcon(e,tp,eg,ep,ev,re,r,rp) function c21438286.thcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and not c:IsReason(REASON_LOST_TARGET) return c:IsPreviousLocation(LOCATION_SZONE) and c:GetPreviousEquipTarget() and not c:IsReason(REASON_LOST_TARGET)
end end
function c21438286.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c21438286.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end if chk==0 then return Duel.CheckLPCost(tp,1000) 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