Commit faf73b05 authored by 未闻皂名's avatar 未闻皂名
parents d5958f03 4d0d4e79
Pipeline #23186 passed with stages
in 6 minutes and 22 seconds
No preview for this file type
No preview for this file type
...@@ -20,20 +20,21 @@ end ...@@ -20,20 +20,21 @@ end
function cm.confilter(c,tp) function cm.confilter(c,tp)
return c:GetSummonPlayer()==tp and c:IsFaceup() and c:IsType(TYPE_EFFECT) return c:GetSummonPlayer()==tp and c:IsFaceup() and c:IsType(TYPE_EFFECT)
end end
function cm.spfilter(c,e,tp,tc) function cm.spfilter(c,e,tp,atk)
return c:IsAttackBelow(tc:GetAttack()) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_ATTACK) return c:IsAttackBelow(atk) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_ATTACK)
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:GetCount()==1 and eg:IsExists(cm.confilter,1,nil,1-tp) return eg:IsExists(cm.confilter,1,nil,1-tp)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local _,atk=eg:GetMaxGroup(Card.GetAttack)
if chk==0 then return Duel.GetMZoneCount(tp)>0 if chk==0 then return Duel.GetMZoneCount(tp)>0
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp,eg:GetFirst()) end and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp,atk) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst() local _,atk=eg:GetMaxGroup(Card.GetAttack)
local spfilter=aux.NecroValleyFilter(RD.Filter(cm.spfilter,e,tp,tc)) local spfilter=aux.NecroValleyFilter(RD.Filter(cm.spfilter,e,tp,atk))
if RD.SelectAndSpecialSummon(spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,POS_FACEUP_ATTACK)~=0 then if RD.SelectAndSpecialSummon(spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,POS_FACEUP_ATTACK)~=0 then
RD.CanSelectAndDoAction(aux.Stringid(m,1),aux.Stringid(m,2),Card.IsFaceup,tp,0,LOCATION_MZONE,1,2,nil,function(g) RD.CanSelectAndDoAction(aux.Stringid(m,1),aux.Stringid(m,2),Card.IsFaceup,tp,0,LOCATION_MZONE,1,2,nil,function(g)
Duel.BreakEffect() Duel.BreakEffect()
......
...@@ -6,6 +6,7 @@ https://yugipedia.com/wiki/Category:Rush_Duel_cards ...@@ -6,6 +6,7 @@ https://yugipedia.com/wiki/Category:Rush_Duel_cards
- **July 1, 2023**: Battle Pack 2023 Vol.2 (RD/B232): `120250XXX` - **July 1, 2023**: Battle Pack 2023 Vol.2 (RD/B232): `120250XXX`
- **September 30, 2023**: Structure Deck: Ultimate Blue-Eyes Legend (RD/SD0A-JP): `120252XXX` - **September 30, 2023**: Structure Deck: Ultimate Blue-Eyes Legend (RD/SD0A-JP): `120252XXX`
- **October 14, 2023**: Megaroad Pack 2 (RD/MRP2): `120246XXX` - **October 14, 2023**: Megaroad Pack 2 (RD/MRP2): `120246XXX`
- **November 11, 2023**: Red Reboot of Darkness (RD/KP15): `120253XXX`
# Archived # Archived
- **April 3, 2020** : Saikyō Jump May 2020 promotional card (RD/SJMP-JP) : `120100XXX` - **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