Commit 29d31991 authored by Huangnan's avatar Huangnan

fix fix fix fix fix

parent 6cd8f5ab
Pipeline #24966 passed with stages
in 27 minutes and 44 seconds
No preview for this file type
expansions/pics/50218126.jpg

64.3 KB | W: | H:

expansions/pics/50218126.jpg

100 KB | W: | H:

expansions/pics/50218126.jpg
expansions/pics/50218126.jpg
expansions/pics/50218126.jpg
expansions/pics/50218126.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223125.jpg

69 KB | W: | H:

expansions/pics/50223125.jpg

122 KB | W: | H:

expansions/pics/50223125.jpg
expansions/pics/50223125.jpg
expansions/pics/50223125.jpg
expansions/pics/50223125.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223130.jpg

67.2 KB | W: | H:

expansions/pics/50223130.jpg

118 KB | W: | H:

expansions/pics/50223130.jpg
expansions/pics/50223130.jpg
expansions/pics/50223130.jpg
expansions/pics/50223130.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223145.jpg

72 KB | W: | H:

expansions/pics/50223145.jpg

125 KB | W: | H:

expansions/pics/50223145.jpg
expansions/pics/50223145.jpg
expansions/pics/50223145.jpg
expansions/pics/50223145.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223150.jpg

74.3 KB | W: | H:

expansions/pics/50223150.jpg

130 KB | W: | H:

expansions/pics/50223150.jpg
expansions/pics/50223150.jpg
expansions/pics/50223150.jpg
expansions/pics/50223150.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223155.jpg

70.3 KB | W: | H:

expansions/pics/50223155.jpg

127 KB | W: | H:

expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
expansions/pics/50223155.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223160.jpg

83.1 KB | W: | H:

expansions/pics/50223160.jpg

149 KB | W: | H:

expansions/pics/50223160.jpg
expansions/pics/50223160.jpg
expansions/pics/50223160.jpg
expansions/pics/50223160.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223165.jpg

76.5 KB | W: | H:

expansions/pics/50223165.jpg

137 KB | W: | H:

expansions/pics/50223165.jpg
expansions/pics/50223165.jpg
expansions/pics/50223165.jpg
expansions/pics/50223165.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/50223170.jpg

18.4 KB | W: | H:

expansions/pics/50223170.jpg

135 KB | W: | H:

expansions/pics/50223170.jpg
expansions/pics/50223170.jpg
expansions/pics/50223170.jpg
expansions/pics/50223170.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -75,11 +75,11 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.ycon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_ONFIELD,0,1,c)
return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,c)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return not Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_ONFIELD,0,1,c)
return not Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,c)
end
function cm.con(e,tp,eg,ep,ev,re,r,rp)
return re and re:GetHandler():IsSetCard(0x7a72)
......
--不公的指名
function c21185598.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_TOHAND)
e1:SetCountLimit(1,21185598)
e1:SetCondition(c21185598.con)
e1:SetTarget(c21185598.tg)
e1:SetOperation(c21185598.op)
c:RegisterEffect(e1)
if not c21185598.global_check then
c21185598.global_check=true
local ge1=Effect.CreateEffect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_CHAINING)
ge1:SetOperation(c21185598.checkop)
Duel.RegisterEffect(ge1,0)
end
end
function c21185598.checkop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
local p=rc:GetControler()
if not re:IsActiveType(TYPE_MONSTER) then return end
if re:GetActivateLocation()&LOCATION_MZONE~=0 then
Duel.RegisterFlagEffect(p,21185598,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end
end
function c21185598.con(e,tp,eg,ep,ev,re,r,rp)
local sum=Duel.GetFlagEffect(tp,21185598)
return sum>1
end
function c21185598.tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.IsPlayerCanDraw(tp,2) or (Duel.IsPlayerCanDraw(tp,1) and Duel.IsExistingMatchingCard(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,1,nil))) end
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,2)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,1-tp,LOCATION_ONFIELD)
end
function c21185598.op(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsPlayerCanDraw(tp,2) and Duel.IsPlayerCanDraw(tp,1) and Duel.IsExistingMatchingCard(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,1,nil) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.Draw(tp,1,REASON_EFFECT)
Duel.SendtoHand(g,nil,REASON_EFFECT)
elseif (Duel.IsPlayerCanDraw(tp,2) or (Duel.IsPlayerCanDraw(tp,1) and Duel.IsExistingMatchingCard(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,1,nil))) then
local op=Duel.SelectOption(tp,aux.Stringid(21185598,0),aux.Stringid(21185598,1))
if op==0 then Duel.Draw(tp,2,REASON_EFFECT) end
if op==1 then
local g=Duel.SelectMatchingCard(Card.IsAbleToHand,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.Draw(tp,1,REASON_EFFECT)
Duel.SendtoHand(g,nil,REASON_EFFECT)
end
end
end
\ No newline at end of file
--星幽仙灵的梦幻小道
function c24518364.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,24518364)
e1:SetTarget(c24518364.tgtg)
e1:SetOperation(c24518364.tgop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_TO_GRAVE)
e2:SetCountLimit(1,24518364)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetTarget(c24518364.sptg)
e2:SetOperation(c24518364.spop)
c:RegisterEffect(e2)
end
function c24518364.tgfilter(c)
return c:IsSetCard(0x396) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
end
function c24518364.exfilter(c)
return c:IsSummonLocation(LOCATION_EXTRA)
end
function c24518364.refilter(c)
return c:IsSetCard(0x396) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove()
end
function c24518364.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c24518364.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
end
function c24518364.tgop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c24518364.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
local g1=Duel.IsExistingMatchingCard(c24518364.exfilter,tp,0,LOCATION_MZONE,1,nil)
Duel.SendtoGrave(g,REASON_EFFECT)
if g1 and g:IsLocation(LOCATION_GRAVE) then
Duel.BreakEffect()
if Duel.SelectYesNo(tp,aux.Stringid(24518364,0)) then
g2=Duel.SelectMatchingCard(tp,c24518364.refilter,tp,LOCATION_DECK,0,1,1,nil)
Duel.Remove(g2,POS_FACEUP,REASON_EFFECT)
end
end
end
function c24518364.filter(c,e,tp)
return c:IsSetCard(0x396) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE+POS_FACEUP_ATTACK)
end
function c24518364.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c24518364.filter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function c24518364.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(c24518364.filter),tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2)
end
Duel.SpecialSummonComplete()
end
\ No newline at end of file
......@@ -25,8 +25,8 @@ function c33912101.initial_effect(c)
c:RegisterEffect(e3)
end
function c33912101.indes(e,c)
return c:IsSummonLocation(LOCATION_EXTRA)
function c33912101.indes(e,re,rp)
return re:GetHandler():IsSummonLocation(LOCATION_EXTRA) and re:GetHandler():IsType(TYPE_MONSTER)
end
function c33912101.tgcon(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -70,9 +70,8 @@ function c50213185.chaincon(e,tp,eg,ep,ev,re,r,rp)
end
function c50213185.chainop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if re:IsHasType(TYPE_MONSTER) and rc:IsSetCard(0xcbf) then
Duel.SetChainLimit(c50213185.chainlm)
end
if not re:IsActiveType(TYPE_MONSTER) or not rc:IsSetCard(0xcbf) then return false end
Duel.SetChainLimit(c50213185.chainlm)
end
function c50213185.chainlm(e,rp,tp)
return tp==rp
......
......@@ -96,9 +96,8 @@ function c50220115.xmcon(e,tp,eg,ep,ev,re,r,rp)
end
function c50220115.chainop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if re:IsHasType(TYPE_MONSTER) and rc:IsSetCard(0xcb5) then
Duel.SetChainLimit(c50220115.chainlm)
end
if not re:IsActiveType(TYPE_MONSTER) or not rc:IsSetCard(0xcb5) then return false end
Duel.SetChainLimit(c50220115.chainlm)
end
function c50220115.chainlm(e,rp,tp)
return tp==rp
......
......@@ -31,7 +31,7 @@ function c50223165.initial_effect(c)
c:RegisterEffect(e1)
end
function c50223165.lcheck(g,lc)
return g:GetClassCount(Card.GetPreviousLocation)==g:GetCount()
return g:GetClassCount(Card.GetSummonLocation)==g:GetCount()
end
function c50223165.negtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(tp) and chkc:IsAbleToGrave() end
......
......@@ -15,16 +15,16 @@ function c50223170.initial_effect(c)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_TRIGGER)
c:RegisterEffect(e2)
local e3=e2:Clone()
local e3=e1:Clone()
e3:SetCode(EFFECT_UNRELEASABLE_SUM)
e3:SetValue(1)
c:RegisterEffect(e3)
local e31=e3:Clone()
e31:SetCode(EFFECT_UNRELEASABLE_NONSUM)
c:RegisterEffect(e31)
local e33=e3:Clone()
e33:SetCode(EFFECT_UNRELEASABLE_NONSUM)
c:RegisterEffect(e33)
local e4=e3:Clone()
e4:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e3:SetValue(c50223170.fuslimit)
e4:SetValue(c50223170.fuslimit)
c:RegisterEffect(e4)
local e5=e3:Clone()
e5:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
......@@ -81,7 +81,7 @@ function c50223170.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0)
end
function c50223170.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if g:GetCount()>0 then
Duel.HintSelection(g)
......
......@@ -16,9 +16,10 @@ function s.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_DISABLE)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_GRAVE)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCountLimit(1,id)
e2:SetCondition(s.con)
e2:SetCost(aux.bfgcost)
......
......@@ -42,6 +42,7 @@ function c65030055.regop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetLabelObject(e0)
e1:SetCondition(c65030055.thcon)
e1:SetOperation(c65030055.thop)
e1:SetReset(RESET_PHASE+PHASE_DRAW)
......@@ -62,7 +63,7 @@ function c65030055.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) then return end
local mg=Duel.GetMatchingGroup(Card.IsSetCard,tp,LOCATION_MZONE,0,nil,0x6da2)
local xg=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,1,nil,c,mg)
local xg=Duel.GetMatchingGroup(Card.IsSynchroSummonable,tp,LOCATION_EXTRA,0,nil,c,mg)
if xg:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=xg:Select(tp,1,1,nil)
......
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