Commit f8a96718 authored by wind2009's avatar wind2009

Fix ブルーミー

parent 94008dda
Pipeline #26703 passed with stages
in 1 minute and 2 seconds
--布鲁米 --ブルーミー
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -46,12 +46,13 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp) ...@@ -46,12 +46,13 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local sc=e:GetLabelObject() local sc=e:GetLabelObject()
local g=Group.FromCards(c,sc) local g=Group.FromCards(c,sc)
local fg=g:Filter(Card.IsRelateToEffect,nil,e) local fg=g:Filter(Card.IsRelateToEffect,nil,e)
if fg:GetCount()~=2 then return end if fg:GetCount()==2 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=fg:FilterSelect(tp,s.tgspfilter,1,1,nil,fg,e,tp) local sg=fg:FilterSelect(tp,s.tgspfilter,1,1,nil,fg,e,tp)
if #sg>0 and Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)>0 then if #sg>0 and Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)>0 then
Duel.Remove(g-sg,POS_FACEUP,REASON_EFFECT) Duel.Remove(g-sg,POS_FACEUP,REASON_EFFECT)
end end
end
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
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