You need to sign in or sign up before continuing.
Commit 240c0ece authored by Nemo Ma's avatar Nemo Ma

fix

parent 10013348
......@@ -23,7 +23,7 @@ function s.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e2:SetCode(EVENT_ADJUST)
e2:SetCode(EVENT_MOVE)
e2:SetRange(LOCATION_MZONE)
e2:SetOperation(s.adjustop)
c:RegisterEffect(e2)
......@@ -76,10 +76,10 @@ end
function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(s.rmfilter,tp,LOCATION_MZONE,0,nil)
if #sg>1 then
Duel.Hint(HINT_SELECTMSG,1-tp,HINTMSG_FACEUP)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local sc=sg:Select(tp,1,1,nil):GetFirst()
sg:RemoveCard(sc)
Duel.SendtoGrave(sg,REASON_RULE)
Duel.Readjust()
--Duel.Readjust()
end
end
......@@ -32,6 +32,14 @@ function s.initial_effect(c)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetOperation(s.regop)
c:RegisterEffect(e3)
--spsummon condition
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE)
e4:SetCode(EFFECT_SPSUMMON_CONDITION)
e4:SetRange(LOCATION_EXTRA)
e4:SetValue(aux.fuslimit)
c:RegisterEffect(e4)
end
function s.cfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsFusionSetCard(0xa77) and c:IsAbleToRemoveAsCost()
......
......@@ -79,7 +79,7 @@ function s.teop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(7984540,1))
local sc=sg:Select(tp,1,3,nil)
if #sc~=0 then
Duel.SendtoDeck(sg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
Duel.SendtoDeck(sc,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end
end
......@@ -74,7 +74,7 @@ function c98920283.desop(e,tp,eg,ep,ev,re,r,rp)
end
local g2=Duel.GetMatchingGroup(c98920283.thfilter,tp,LOCATION_DECK,0,nil)
if ct1>0 and g2:GetCount()>=ct1 then
local sg=Duel.SelectMatchingCard(tp,c98920283.filter,tp,LOCATION_DECK,0,ct1,ct1,nil)
local sg=Duel.SelectMatchingCard(tp,c98920283.thfilter,tp,LOCATION_DECK,0,ct1,ct1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
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