Commit f6d24a71 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 88ac114d
Pipeline #2447 passed with stages
in 43 minutes and 45 seconds
expansions/pics/72410680.jpg

75.3 KB | W: | H:

expansions/pics/72410680.jpg

75.2 KB | W: | H:

expansions/pics/72410680.jpg
expansions/pics/72410680.jpg
expansions/pics/72410680.jpg
expansions/pics/72410680.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/72411210.jpg

78 KB | W: | H:

expansions/pics/72411210.jpg

80.5 KB | W: | H:

expansions/pics/72411210.jpg
expansions/pics/72411210.jpg
expansions/pics/72411210.jpg
expansions/pics/72411210.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/72411240.jpg

82.3 KB | W: | H:

expansions/pics/72411240.jpg

81.8 KB | W: | H:

expansions/pics/72411240.jpg
expansions/pics/72411240.jpg
expansions/pics/72411240.jpg
expansions/pics/72411240.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/72411250.jpg

83.2 KB | W: | H:

expansions/pics/72411250.jpg

82.6 KB | W: | H:

expansions/pics/72411250.jpg
expansions/pics/72411250.jpg
expansions/pics/72411250.jpg
expansions/pics/72411250.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/72411490.jpg

131 KB | W: | H:

expansions/pics/72411490.jpg

132 KB | W: | H:

expansions/pics/72411490.jpg
expansions/pics/72411490.jpg
expansions/pics/72411490.jpg
expansions/pics/72411490.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/72411500.jpg

91.8 KB | W: | H:

expansions/pics/72411500.jpg

91.8 KB | W: | H:

expansions/pics/72411500.jpg
expansions/pics/72411500.jpg
expansions/pics/72411500.jpg
expansions/pics/72411500.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -21,7 +21,6 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop)
e2:SetValue(1)
c:RegisterEffect(e2)
Duel.AddCustomActivityCounter(m,ACTIVITY_CHAIN,cm.chainfilter)
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_SPSUMMON_SUCCESS)
......@@ -51,7 +50,7 @@ end
function cm.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_HAND,0,3,nil) and Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 and not Duel.CheckPhaseActivity() and Duel.GetCustomActivityCount(m,tp,ACTIVITY_CHAIN)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_HAND,0,3,nil) and Duel.GetActivityCount(tp,ACTIVITY_BATTLE_PHASE)==0 and not Duel.CheckPhaseActivity() and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,chk)
local tp=e:GetHandlerPlayer()
......@@ -81,14 +80,14 @@ function cm.actop(e,tp,eg,ep,ev,re,r,rp)
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
end
end
function cm.costfilter(c)
return c:IsRace(RACE_SPELLCASTER) and c:IsAbleToDeckAsCost()
function cm.costfilter(c,tp)
return c:IsRace(RACE_SPELLCASTER) and c:IsAbleToDeckAsCost() and Duel.IsExistingMatchingCard(cm.costfilter2,tp,LOCATION_GRAVE,0,1,c)
end
function cm.costfilter2(c)
return c:IsRace(RACE_FAIRY) and c:IsAbleToDeckAsCost()
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_GRAVE,0,1,nil) and Duel.IsExistingMatchingCard(cm.costfilter2,tp,LOCATION_GRAVE,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_GRAVE,0,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g1=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_GRAVE,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
......
......@@ -2,7 +2,7 @@
local m=12083002
local cm=_G["c"..m]
function cm.initial_effect(c)
c:EnableCounterPermit(0x2fb4)
c:EnableCounterPermit(0x1fb4)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......@@ -58,15 +58,15 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
and rc:IsFaceup() and rc:IsSetCard(0x5fae) and rc:IsControler(tp)
end
function cm.drop(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():AddCounter(0x2fb4,1)
e:GetHandler():AddCounter(0x1fb4,1)
end
function cm.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsCanRemoveCounter(tp,0x2fb4,1,REASON_COST) end
c:RemoveCounter(tp,0x2fb4,1,REASON_COST)
if chk==0 then return c:IsCanRemoveCounter(tp,0x1fb4,1,REASON_COST) end
c:RemoveCounter(tp,0x1fb4,1,REASON_COST)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......@@ -82,8 +82,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x2fb4,7,REASON_COST) end
c:RemoveCounter(tp,0x2fb4,7,REASON_COST)
if chk==0 then return e:GetHandler():IsCanRemoveCounter(tp,0x1fb4,7,REASON_COST) end
c:RemoveCounter(tp,0x1fb4,7,REASON_COST)
end
function cm.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToGrave,tp,0,LOCATION_HAND+LOCATION_EXTRA,1,nil) end
......
......@@ -49,10 +49,10 @@ function cm.immop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_ACTIVATE)
e2:SetTargetRange(0,1)
e2:SetValue(cm.aclimit)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(0,1)
e1:SetValue(cm.aclimit)
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e1:SetRange(LOCATION_MZONE)
c:RegisterEffect(e1)
......@@ -72,6 +72,7 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
......
......@@ -45,7 +45,7 @@ end
function c21520122.thop(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c21520122.thfilter,tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_MESSAGE,tp,HINTMSG_ATOHAND)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
......
......@@ -101,7 +101,7 @@ function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and cm.filter(chkc) end
if chk==0 then return sc>0 and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_MZONE,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE,nil,sc:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE,nil,sc,0,0)
end
function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
local sc=Duel.GetMatchingGroupCount(cm.cfilter,tp,LOCATION_MZONE,0,nil)
......@@ -115,13 +115,13 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(sc:GetAttack()/2)
e1:SetValue(tc:GetAttack()/2)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_SET_DEFENSE_FINAL)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetValue(sc:GetDefense()/2)
e2:SetValue(tc:GetDefense()/2)
tc:RegisterEffect(e2)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
......
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