Commit 6193a56e authored by 未闻皂名's avatar 未闻皂名

2025/5/19 新增:5THS新卡

parent 6f49b5ac
Pipeline #36529 passed with stages
in 10 minutes and 53 seconds
No preview for this file type
local cm,m=GetID()
cm.name="海影的海牛"
function cm.initial_effect(c)
--Control
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--Control
function cm.filter(c)
return c:IsFacedown() and c:IsControlerCanBeChanged()
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsSummonTurn(e:GetHandler())
end
cm.cost=RD.CostSendHandToGrave(Card.IsAbleToGraveAsCost,2,2)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_CONTROL,nil,1,1-tp,LOCATION_MZONE)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_CONTROL,cm.filter,tp,0,LOCATION_MZONE,1,1,nil,function(g)
Duel.GetControl(g,tp)
end)
end
\ No newline at end of file
local cm,m=GetID()
cm.name="幻遭的奇美拉蛇"
function cm.initial_effect(c)
--To Deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
e1:SetCategory(CATEGORY_TODECK+CATEGORY_GRAVE_ACTION+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(cm.condition)
e1:SetCost(cm.cost)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
end
--To Deck
function cm.costfilter(c)
return c:IsAttribute(ATTRIBUTE_WIND)
end
function cm.filter(c)
return c:IsAbleToDeck()
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return RD.IsSummonTurn(e:GetHandler())
end
cm.cost=RD.CostSendDeckTopToGrave(2,function(g)
return g:FilterCount(cm.costfilter,nil)
end)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_GRAVE,1,nil) end
local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_GRAVE,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,1,0,0)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
RD.SelectAndDoAction(HINTMSG_TODECK,aux.NecroValleyFilter(cm.filter),tp,0,LOCATION_GRAVE,1,2,nil,function(g)
if RD.SendToDeckAndExists(g,e,tp,REASON_EFFECT) and e:GetLabel()>0 then
RD.CanDamage(aux.Stringid(m,1),tp,400)
end
end)
end
\ No newline at end of file
......@@ -12,6 +12,7 @@ https://yugipedia.com/wiki/Category:Rush_Duel_cards
- **April 12, 2025**: 5th ANNIVERSARY PACK (RD/5TH1-JP): `120283XXX`
- **April 1, 2025**: GALAXY CUP 2025 Pack (RD/GC25-JP): `120284XXX`
- **May 31, 2025**: Accel Road of the Attack (RD/KP21-JP): `120285XXX`
- **May 31, 2025**: 5th SPECIAL PACK (RD/5THS-JP): `120286XXX`
# Archived
- **April 3, 2020** : Saikyō Jump May 2020 promotional card (RD/SJMP-JP) : `120100XXX`
......
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