Commit ad6a22f4 authored by Huangnan's avatar Huangnan

fix

parent 4f4f9a50
Pipeline #33364 failed with stages
in 21 minutes and 22 seconds
No preview for this file type
expansions/pics/12400104.jpg

108 KB | W: | H:

expansions/pics/12400104.jpg

93.4 KB | W: | H:

expansions/pics/12400104.jpg
expansions/pics/12400104.jpg
expansions/pics/12400104.jpg
expansions/pics/12400104.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -101,8 +101,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
else
break
end
Duel.SpecialSummonComplete()
end
Duel.SpecialSummonComplete()
end
function s.gcheck(g,e,tp)
return g:IsExists(Card.IsCode,1,nil,12869000)
......
......@@ -142,7 +142,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if og:GetCount()==g:GetCount() and tg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local rg=tg:Select(tp,1,1,nil)
Duel.SynchroSummon(tp,rg:GetFirst(),nil)
Duel.SynchroSummon(tp,rg:GetFirst(),nil,og)
--Duel.SynchroSummon(tp,rg:GetFirst(),nil,og,#og,#og)
end
e1:Reset()
......
--血罪灵骸·雾渊哀歌姬
local m=18700036
local cm=_G["c"..m]
Duel.LoadScript("1.lua")
function cm.initial_effect(c)
c:EnableCounterPermit(0x1820)
aux.EnablePendulumAttribute(c)
......@@ -35,7 +34,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(m,2))
e4:SetCategory(CATEGORY_SEARCH)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_SUMMON_SUCCESS)
e4:SetProperty(EFFECT_FLAG_DELAY)
......
......@@ -10,7 +10,7 @@ function s.initial_effect(c)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:SetCondition(s.syncon)
e1:SetCost(s.syncon)
e1:SetCost(s.syncost)
e1:SetTarget(s.sctg)
e1:SetOperation(s.scop)
c:RegisterEffect(e1)
......@@ -43,8 +43,6 @@ function s.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end
function s.scop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsControler(1-tp) or not c:IsRelateToEffect(e) or c:IsFacedown() then return end
local g=Duel.GetMatchingGroup(s.scfilter,tp,LOCATION_EXTRA,0,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......@@ -68,6 +66,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
......@@ -3,7 +3,7 @@ function c60001173.initial_effect(c)
aux.AddCodeList(c,60001179)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAND+CATEGORY_GRAVE_ACTION+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_ATTACK,0x11e0)
......@@ -13,7 +13,6 @@ function c60001173.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(60001173,1))
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCategory(CATEGORY_TODECK)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_GRAVE)
......
......@@ -61,13 +61,13 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler())
local rt=g:GetCount()
if ct>0 and #g>0 then
if ct+1>=rt then
if ct>=rt then
Duel.Hint(HINTMSG_SELECT,tp,HINTMSG_REMOVE)
local rg=g:Select(tp,1,rt,e:GetHandler())
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
else
Duel.Hint(HINTMSG_SELECT,tp,HINTMSG_REMOVE)
local rg=g:Select(tp,1,ct+1,e:GetHandler())
local rg=g:Select(tp,1,ct,e:GetHandler())
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
end
end
......
......@@ -41,7 +41,7 @@ function cm.xyzop(e,tp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,m)==0 end
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,EFFECT_FLAG_OATH,1)
--splimit
local e1=Effect.CreateEffect(c)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
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