Commit 14273645 authored by GuGu's avatar GuGu

Update c31093.lua 各种八阿哥

parent 34582072
Pipeline #21216 passed with stage
in 56 seconds
...@@ -13,6 +13,7 @@ function s.initial_effect(c) ...@@ -13,6 +13,7 @@ function s.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=e1:Clone() local e2=e1:Clone()
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE) e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(aux.TRUE)
e2:SetValue(100) e2:SetValue(100)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--② --②
...@@ -40,7 +41,7 @@ function s.initial_effect(c) ...@@ -40,7 +41,7 @@ function s.initial_effect(c)
end end
function s.thfilter(c) function s.thfilter(c)
return c:IsCode(0x275) and c:IsAbleToHand() return c:IsSetCard(0x275) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -64,13 +65,13 @@ return c:IsLocation(LOCATION_HAND) and bc and bc:IsType(TYPE_MONSTER) ...@@ -64,13 +65,13 @@ return c:IsLocation(LOCATION_HAND) and bc and bc:IsType(TYPE_MONSTER)
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function s.spop(e,tp,eg,ep,ev,re,r,rp) function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
end 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