Commit 2193a419 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c82000080.lua

parent 004e9241
......@@ -8,7 +8,7 @@ function c82000080.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_DELAY)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,82000140)
e3:SetCountLimit(1,82000080)
e3:SetCondition(c82000080.tecon)
e3:SetCost(c82000080.cost)
e3:SetTarget(c82000080.sptg)
......@@ -22,7 +22,7 @@ function c82000080.initial_effect(c)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1,82000141)
e4:SetCountLimit(1,82000081)
e4:SetCost(c82000080.spcost)
e4:SetTarget(c82000080.tg)
e4:SetOperation(c82000080.op)
......@@ -47,12 +47,12 @@ function c82000080.filter(c,e,tp,ft)
return c:IsSetCard(0xf57) and c:IsType(TYPE_MONSTER) and (c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
end
function c82000080.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c82000080.filter,tp,LOCATION_DECK,0,1,nil,e,tp,ft) end
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return Duel.IsExistingMatchingCard(c82000080.filter,tp,LOCATION_DECK,0,1,nil,e,tp,ft) end
end
function c82000080.spop(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SELF)
local g=Duel.SelectMatchingCard(tp,c82000080.filter,tp,LOCATION_DECK,0,1,1,nil,e,tp,ft)
local tc=g:GetFirst()
if tc 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