Commit d95fb9fb authored by mercury233's avatar mercury233

update new cards

parent da9045c4
Pipeline #7072 passed with stages
in 1 minute and 16 seconds
......@@ -3,9 +3,11 @@
100286001
100286002
100286003
100286004
100286017
100286018
100286019
100286020
101108001
101108002
101108034
......
pics/100286001.jpg

86.6 KB | W: | H:

pics/100286001.jpg

84.8 KB | W: | H:

pics/100286001.jpg
pics/100286001.jpg
pics/100286001.jpg
pics/100286001.jpg
  • 2-up
  • Swipe
  • Onion skin
pics/100286002.jpg

80.3 KB | W: | H:

pics/100286002.jpg

81.7 KB | W: | H:

pics/100286002.jpg
pics/100286002.jpg
pics/100286002.jpg
pics/100286002.jpg
  • 2-up
  • Swipe
  • Onion skin
pics/100286003.jpg

77.8 KB | W: | H:

pics/100286003.jpg

78.5 KB | W: | H:

pics/100286003.jpg
pics/100286003.jpg
pics/100286003.jpg
pics/100286003.jpg
  • 2-up
  • Swipe
  • Onion skin
pics/100286017.jpg

95.1 KB | W: | H:

pics/100286017.jpg

86.8 KB | W: | H:

pics/100286017.jpg
pics/100286017.jpg
pics/100286017.jpg
pics/100286017.jpg
  • 2-up
  • Swipe
  • Onion skin
pics/100286018.jpg

84.7 KB | W: | H:

pics/100286018.jpg

82.3 KB | W: | H:

pics/100286018.jpg
pics/100286018.jpg
pics/100286018.jpg
pics/100286018.jpg
  • 2-up
  • Swipe
  • Onion skin
pics/100286019.jpg

83.5 KB | W: | H:

pics/100286019.jpg

83.3 KB | W: | H:

pics/100286019.jpg
pics/100286019.jpg
pics/100286019.jpg
pics/100286019.jpg
  • 2-up
  • Swipe
  • Onion skin
--戦場の惨劇
--
--Script by Trishula9
function c100286004.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--sset
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1,100286004)
e2:SetCondition(c100286004.sscon)
e2:SetCost(c100286004.sscost)
e2:SetTarget(c100286004.sstg)
e2:SetOperation(c100286004.ssop)
c:RegisterEffect(e2)
--to grave
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_DECKDES)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e3:SetCode(EVENT_PHASE+PHASE_END)
e3:SetRange(LOCATION_SZONE)
e3:SetCondition(c100286004.tgcon)
e3:SetTarget(c100286004.tgtg)
e3:SetOperation(c100286004.tgop)
c:RegisterEffect(e3)
if not c100286004.global_check then
c100286004.global_check=true
local ge1=Effect.GlobalEffect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_BATTLED)
ge1:SetOperation(c100286004.checkop)
Duel.RegisterEffect(ge1,0)
end
end
function c100286004.checkop(e,tp,eg,ep,ev,re,r,rp)
local a,d=Duel.GetBattleMonster(0)
if a and d then Duel.RegisterFlagEffect(tp,100286004,RESET_PHASE+PHASE_END,0,1) end
end
function c100286004.sscon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFlagEffect(tp,100286004)==0 and Duel.GetCurrentPhase()==PHASE_MAIN2
end
function c100286004.sscost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) end
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end
function c100286004.ssfilter(c)
return c:IsCode(100286004) and c:IsSSetable()
end
function c100286004.sstg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c100286004.ssfilter,tp,LOCATION_DECK,0,1,nil) end
end
function c100286004.ssop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,c100286004.ssfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SSet(tp,g)
end
end
function c100286004.tgcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFlagEffect(tp,100286004)>0
end
function c100286004.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,Duel.GetTurnPlayer(),5)
end
function c100286004.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.DiscardDeck(Duel.GetTurnPlayer(),5,REASON_EFFECT)
end
--EMクラシックリボー
--
--Script by Trishula9
function c100286020.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_PZONE)
e1:SetCondition(c100286020.descon)
e1:SetOperation(c100286020.desop)
c:RegisterEffect(e1)
--scale
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(100286020,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_HAND)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1,100286020)
e2:SetCost(c100286020.sccost)
e2:SetTarget(c100286020.sctg)
e2:SetOperation(c100286020.scop)
c:RegisterEffect(e2)
--pendulum set
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_LEAVE_GRAVE)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_BATTLE_DAMAGE)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,100286020+100)
e3:SetCondition(c100286020.pencon)
e3:SetTarget(c100286020.pentg)
e3:SetOperation(c100286020.penop)
c:RegisterEffect(e3)
--end battle phase
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_DESTROYED)
e4:SetCondition(c100286020.endcon)
e4:SetOperation(c100286020.endop)
c:RegisterEffect(e4)
end
function c100286020.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetAttacker():IsControler(1-tp) and Duel.GetAttackTarget()==nil
end
function c100286020.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.Destroy(e:GetHandler(),REASON_EFFECT)
end
function c100286020.sccost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() end
Duel.SendtoGrave(e:GetHandler(),REASON_DISCARD+REASON_COST)
end
function c100286020.scfilter(c)
return c:GetCurrentScale()~=1
end
function c100286020.sctg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_PZONE) and chkc:IsControler(tp) and c100286020.scfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c100286020.scfilter,tp,LOCATION_PZONE,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,c100286020.scfilter,tp,LOCATION_PZONE,0,1,1,nil)
end
function c100286020.scop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_LSCALE)
e1:SetValue(1)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_CHANGE_RSCALE)
tc:RegisterEffect(e2)
end
end
function c100286020.pencon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp
end
function c100286020.pentg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1) end
end
function c100286020.penop(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckLocation(tp,LOCATION_PZONE,0) and not Duel.CheckLocation(tp,LOCATION_PZONE,1) then return end
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
end
end
function c100286020.endcon(e,tp,eg,ep,ev,re,r,rp)
if not re then return end
local c=e:GetHandler()
local rc=re:GetHandler()
return c:IsReason(REASON_EFFECT) and rc==c
end
function c100286020.endop(e,tp,eg,ep,ev,re,r,rp)
Duel.SkipPhase(1-tp,PHASE_BATTLE,RESET_PHASE+PHASE_BATTLE_STEP,1)
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