Commit e0646941 authored by Nemo Ma's avatar Nemo Ma

the divide

parent ce0dd538
#[No81DIY 19.10]
!THE LIST
#[No81DIY 19.10 STANDARD][No81DIY 19.10 WILD]
!THE STANDARD LIST
#99
09910011 1
09910052 1
09910056 1
09950000 1
09950002 1
09950014 1
09950016 1
09950017 1
09950020 0
09950050 0
09950051 0
09950054 1
09950056 1
09950060 1
09950065 1
09950066 1
09950068 0
09950067 1
09950073 1
09950076 1
09950079 1
09950082 1
09950086 0
09950088 0
09950091 1
09950099 1
09950102 1
09950103 1
09950111 0
09950118 1
09950121 1
09950130 0
09950132 1
09950142 1
09950143 1
09950145 1
09950149 0
09950150 0
09950165 1
09950166 1
09950167 1
09950170 0
09950173 0
09950186 0
09950190 1
09950193 0
09950254 1
09950514 0
09950912 0
09951092 0
09951064 0
09950939 0
09951102 0
09950154 0
09951031 0
09950177 0
09950183 0
09950925 1
09950176 1
09950978 1
09951046 1
09951043 1
09950947 1
09950547 1
09950920 1
09950915 0
09950963 0
09950144 0
#单卡力量限额
09950279 0
09950281 0
09950276 0
09950277 0
09950278 0
09950908 0
09950982 0
09950994 0
09951003 1
09951217 0
09951220 0
09951233 0
09951234 1
09951254 0
09951255 0
09951280 0
#特殊召唤限额
09950007 0
09950008 1
09950045 2
09950046 1
09950052 1
09950053 1
09950072 1
09950074 0
09950083 0
09950084 1
09950085 1
#效果无效限额
09950010 1
09950212 0
#抗性限额
09950015 1
09980110 2
09980111 1
09980126 1
09980129 2
09980160 2
09980163 2
09980173 1
09980177 1
09980178 1
09980181 2
09980186 2
09980188 1
09980194 1
09980219 2
09980231 1
09980231 1
09980232 1
09980234 1
09980235 1
09980236 1
09980237 1
09980240 1
09980241 1
09980243 2
09980248 1
09980251 1
09980266 1
09980276 1
09980283 1
09980295 1
09980312 2
09980413 1
09980439 1
09980440 1
09980444 1
09980518 1
09980579 1
09980605 1
09980606 1
09980635 1
09980636 1
09980637 1
09980647 1
09980651 0
09980653 0
09980654 1
09980654 0
09980655 0
09980663 0
09980713 1
09980715 1
09980717 1
09980718 1
09980721 0
09980724 1
09980739 0
09980746 2
09980747 2
09980768 0
09980774 2
09980775 1
09980778 0
09980823 1
09980836 1
09980845 1
09980848 2
09980851 0
09980853 2
09980854 1
09980858 1
09980860 0
09980909 0
09980919 0
09980925 0
09980929 0
09980931 1
09980949 1
09980950 0
09980954 1
09980958 2
09980969 0
09980990 1
09981019 0
09981103 1
09981115 0
09981123 0
09981130 0
09981132 1
09981134 0
09981139 1
09981140 1
09981143 1
09981145 1
09981151 1
09981151 0
09981152 1
09981152 0
09981153 0
09981155 0
09981167 0
09981171 0
09981175 0
09981179 1
09981181 1
09981182 0
09981183 1
09981194 0
09981196 0
09981197 0
09981199 0
09981202 1
09981203 0
09981206 1
09981504 1
09981507 0
09981510 0
09981512 0
09981513 0
09981515 0
09981517 0
09981532 0
09981536 0
09981593 0
09981579 1
09981582 0
09981587 0
09981596 0
09981637 0
09981632 1
#单卡力量限额
09980503 0
09980517 1
09980527 0
09980551 1
09980766 0
09980989 1
09981282 0
09981284 1
09981634 1
#特殊召唤限额
#效果无效限额
#抗性限额
09981150 1
#132
13257316 2
13257332 1
13257335 1
13257346 2
#单卡力量限额
#特殊召唤限额
#效果无效限额
#抗性限额
#140
14000021 0
14010075 1
14010084 2
14010096 2
14010120 1
14010206 1
#单卡力量限额
14010226 0
14010227 0
14010228 0
14010230 0
14010231 1
#特殊召唤限额
#效果无效限额
#抗性限额
#300
30000004 0
30000005 1
30000010 1
30000013 1
30000019 1
30000027 1
30000029 1
30000033 0
30000049 1
30000051 0
30000999 1
#单卡力量限额
#特殊召唤限额
#效果无效限额
#抗性限额
#333
33330093 1
#334
33400006 1
#337
33700036 0
33700058 1
33700081 0
33700082 1
33700085 1
33700093 0
33700175 1
33700181 2
33700186 0
33700200 0
33700311 1
33700316 2
33700405 2
33700746 0
33700747 1
33700784 1
33700785 1
33700786 1
33700787 1
33700901 0
33700902 1
33700903 1
33700905 1
#单卡力量限额
33700924 1
33700792 1
#特殊召唤限额
#效果无效限额
#抗性限额
#400
40008110 0
40008150 1
40008160 1
40008190 0
40008400 1
40008515 0
40008522 0
40008529 0
40008530 1
40008537 1
40008538 0
40008564 0
40008590 1
40008597 0
40008599 0
40008601 0
40008603 0
40008605 0
40008610 1
40008708 0
40008714 0
40008771 0
40008779 0
#单卡力量限额
40008380 0
40008390 0
40008420 1
40008460 0
#特殊召唤限额
#效果无效限额
#抗性限额
#462
#单卡力量限额
46250022 0
46250023 0
46250025 0
#特殊召唤限额
#效果无效限额
#抗性限额
#601
60150803 1
60150806 1
#单卡力量限额
#特殊召唤限额
#效果无效限额
#抗性限额
#650
65010036 0
65010038 0
65010046 0
65010087 1
65010090 1
65010098 2
65010099 1
65010100 1
65010102 0
65010105 2
65010105 1
65010124 1
65010127 1
65010203 0
65010328 0
#单卡力量限额
#特殊召唤限额
#效果无效限额
#抗性限额
#889
88990194 0
#Temp
09951073 0
09950981 0
09950996 0
09950997 0
46250006 0
46250019 0
14010235 0
09951070 1
09951097 1
09951098 1
09951079 1
09951161 1
09951160 1
09950991 1
09950998 1
09951003 1
09951062 1
09951067 1
46250004 1
46250009 1
#907
90700001 0
90700005 1
90700002 0
#???
#987
98730001 1 --DR-燃龙
98730004 1 --DR-流龙
98730007 1 --DR-迹龙
98730010 1 --DR-霆龙
98730013 1 --DR-爆龙
98730015 1 --DR-潮龙
98730017 1 --DR-飚龙
98730019 1 --DR-锈龙
98730113 0 --XDR-爆龙
98730115 0 --XDR-潮龙
98730117 0 --XDR-飚龙
98730119 0 --XDR-锈龙
98730213 0 --FDR-爆龙
98730215 0 --FDR-潮龙
98730217 0 --FDR-飚龙
98730219 0 --FDR-锈龙
98730313 0 --SDR-爆龙
98730315 0 --SDR-潮龙
98730317 0 --SDR-飚龙
98730319 0 --SDR-锈龙
98731001 0 --DDR-源龙
111146448 0 --多元魔导书的圆环
111464489 1 --多元魔导书的神判
117981478 0 --闪光的白石
116301233 0 --黑暗中显现的绝望塔
117960683 1 --极光之宣告者
118038143 1 --闪光
#Use Nora-Cat, Baby
121082832 0 --混沌
#世纪末系列限额
82221015 0
84610002 0
84610013 0
111146448 0
112640060 0
114644893 1
115206843 0
115284688 0
116839253 0
117412241 0
118946353 0
119030777 1
119041155 0
119721166 1
119918512 0
121074344 0
126674724 1
#BUGs
117837139 0
#FORBIDDEN TCG ===Forbidden===
76794549 0 --Astrograph Sorcerer
09929398 0 --Blackwing - Gofu the Vague Shadow
53804307 0 --Blaster, Dragon Ruler of Infernos
34124316 0 --Cyber Jar
15341821 0 --Dandylion
08903700 0 --Djinn Releaser of Rituals
49684352 0 --Double Iris Magician
51858306 0 --Eclipse Wyvern
55623480 0 --Fairy Tail - Snow
78706415 0 --Fiber Jar
93369354 0 --Fishborg Blaster
75732622 0 --Grinder Golem
57421866 0 --Level Eater
34206604 0 --Magical Scientist
31178212 0 --Majespecter Unicorn - Kirin
21593977 0 --Makyura the Destructor
21377582 0 --Master Peace, the True Dracoslaying King
23434538 0 --Maxx "C"
96782886 0 --Mind Master
57835716 0 --Orcust Harp Horror
07563579 0 --Performage Plushfire
17330916 0 --Performapal Monkeyboard
40318957 0 --Performapal Skullcrobat Joker
23558733 0 --Phoenixian Cluster Amaryllis
90411554 0 --Redox, Dragon Ruler of Boulders
05592689 0 --Samsara Lotus
20663556 0 --Substitoad
88071625 0 --The Tyrant Neptune
26400609 0 --Tidal, Dragon Ruler of Waterfalls
44910027 0 --Victory Dragon
03078576 0 --Yata-Garasu
17412721 0 --Elder Entity Norden
43387895 0 --Supreme King Dragon Starving Venom
15291624 0 --Thunder Dragon Colossus
05043010 0 --Firewall Dragon
59537380 0 --Guardragon Agarpain
24094258 0 --Heavymetalfoes Electrumite
39064822 0 --Knightmare Goblin
03679218 0 --Knightmare Mermaid
61665245 0 --Summon Sorceress
26692769 0 --The Phantom Knights of Rusty Bardiche
22593417 0 --Topologic Gumblar Dragon
25862681 0 --Ancient Fairy Dragon
65536818 0 --Denglong, First of the Yang Zing
94677445 0 --Ib the World Chalice Justiciar
63101919 0 --Tempest Magician
34086406 0 --Lavalval Chain
04423206 0 --M-X-Saber Invoker
54719828 0 --Number 16: Shock Master
10389142 0 --Number 42: Galaxy Tomahawk
63504681 0 --Number 86: Heroic Champion - Rhongomyniad
58820923 0 --Number 95: Galaxy-Eyes Dark Matter Dragon
34945480 0 --Outer Entity Azathot
87327776 0 --Salamangreat Miragestallio
18326736 0 --Tellarknight Ptolemaeus
81122844 0 --Wind-Up Carrier Zenmaity
85115440 0 --Zoodiac Broadbull
07394770 0 --Brilliant Fusion
69243953 0 --Butterfly Dagger - Elma
57953380 0 --Card of Safe Return
04031928 0 --Change of Heart
67616300 0 --Chicken Game
60682203 0 --Cold Wave
17375316 0 --Confiscation
44763025 0 --Delinquent Duo
23557835 0 --Dimension Fusion
42703248 0 --Giant Trunade
79571449 0 --Graceful Charity
18144506 0 --Harpie's Feather Duster
19613556 0 --Heavy Storm
35059553 0 --Kaiser Colosseum
85602018 0 --Last Will
34906152 0 --Mass Driver
46411259 0 --Metamorphosis
41482598 0 --Mirage of Nightmare
74191942 0 --Painful Choice
55144522 0 --Pot of Greed
70828912 0 --Premature Burial
94220427 0 --Rank-Up-Magic Argent Chaos Force
63166095 0 --Sky Striker Mobilize - Engage!
45986603 0 --Snatch Steal
54447022 0 --Soul Charge
46448938 0 --Spellbook of Judgment
11110587 0 --That Grass Looks Greener
42829885 0 --The Forceful Sentry
28566710 0 --Last Turn
27174286 0 --Return from the Different Dimension
93016201 0 --Royal Oppression
57585212 0 --Self-Destruct Button
03280747 0 --Sixth Sense
35316708 0 --Time Seal
64697231 0 --Trap Dustshoot
80604091 0 --Ultimate Offering
05851097 0 --Vanity's Emptiness
9047460 0 --Blackwing - Steam the Cloak
5560911 0 --Destrudo the Lost Dragon's Frisson
67441435 0 --Glow-Up Bulb
83190280 0 --Lunalight Tiger
91258852 0 --SPYRAL Master Plan
#LIMITED TCG ====Limited===
07902349 1 --Left Arm of the Forbidden One
44519536 1 --Left Leg of the Forbidden One
70903634 1 --Right Arm of the Forbidden One
08124921 1 --Right Leg of the Forbidden One
42790071 1 --Altergeist Multifaker
28985331 1 --Armageddon Knight
61901281 1 --Black Dragon Collapserpent
57143342 1 --Cir, Malebranche of the Burning Abyss
69015963 1 --Cyber-Stein
70711847 1 --Danger! Nessie!
14536035 1 --Dark Grepher
58984738 1 --Dinomight Knight, the True Dracofighter
82385847 1 --Dinowrestler Pankratops
33396948 1 --Exodia the Forbidden One
64034255 1 --Genex Ally Birdman
20758643 1 --Graff, Malebranche of the Burning Abyss
99177923 1 --Infernity Archfiend
#33508719 1 --Morphing Jar (Let's Do this for fun!)
16226786 1 --Night Assailant
12958919 1 --Phantom Skyblaster
88264978 1 --Red-Eyes Darkness Metal Dragon
26889158 1 --Salamangreat Gazelle
92559258 1 --Servant of Endymion
81275020 1 --Speedroid Terrortop
04474060 1 --SPYRAL GEAR - Drone
78080961 1 --SPYRAL Quik-Fix
89399912 1 --Tempest, Dragon Ruler of Storms
30539496 1 --True King Lithosagym, the Disaster
99234526 1 --White Dragon Wyverburster
78872731 1 --Zoodiac Ratpier
45222299 1 --Evigishki Gustkraken
11877465 1 --Evigishki Mind Augus
89463537 1 --Nekroz of Unicore
39512984 1 --Gem-Knight Master Diamond
48063985 1 --Ritual Beast Ulti-Cannahawk
70583986 1 --Dewloren, Tiger King of the Ice Barrier
18239909 1 --Ignister Prominence, the Blasting Dracoslayer
74586817 1 --PSY-Framelord Omega
27552504 1 --Beatrice, Lady of the Eternal
00581014 1 --Daigusto Emeral
08949584 1 --A Hero Lives
72892473 1 --Card Destruction
59750328 1 --Card of Demise
91623717 1 --Chain Strike
81674782 1 --Dimensional Fissure
15854426 1 --Divine Wind of Mist Valley
14733538 1 --Draco Face-Off
13035077 1 --Dragonic Diagram
67723438 1 --Emergency Teleport
95308449 1 --Final Countdown
81439173 1 --Foolish Burial
27970830 1 --Gateway of the Six
75500286 1 --Gold Sarcophagus
66957584 1 --Infernity Launcher
93946239 1 --Into the Void
71650854 1 --Magical Mid-Breaker Field
83764718 1 --Monster Reborn
33782437 1 --One Day of Peace
02295440 1 --One for One
22842126 1 --Pantheism of the Monarchs
12580477 1 --Raigeki
58577036 1 --Reasoning
32807846 1 --Reinforcement of the Army
52155219 1 --Salamangreat Circle
73915051 1 --Scapegoat
24940422 1 --Sekka's Light
73468603 1 --Set Rotation
52340444 1 --Sky Striker Mecha - Hornet Drones
98338152 1 --Sky Striker Mecha - Widow Anchor
24010609 1 --Sky Striker Mecha Modules - Multirole
71344451 1 --Slash Draw
54631665 1 --SPYRAL Resort
45305419 1 --Symbol of Heritage
73628505 1 --Terraforming
35371948 1 --Trickstar Light Stage
70368879 1 --Upstart Goblin
61740673 1 --Imperial Order
30241314 1 --Macro Cosmos
32723153 1 --Magical Explosion
89208725 1 --Metaverse
23002292 1 --Red Reboot
82732705 1 --Skill Drain
35125879 1 --True King's Return
17078030 1 --Wall of Revealing Light
43694650 1 --Danger!? Jackalope?
99745551 1 --Danger!? Tsuchinoko?
1561110 1 --ABC-Dragon Buster
90953320 1 --T.G. Hyper Librarian
52687916 1 --Trishula, Dragon of the Ice Barrier
90809975 1 --Toadally Awesome
48905153 1 --Zoodiac Drident
1845204 1 --Instant Fusion
37520316 1 --Mind Control
46060017 1 --Zoodiac Barrage
#SEMI LIMITED TCG ===Semi Limited===
10802915 2 --Tour Guide From the Underworld
9411399 2 --Destiny HERO - Malicious
98338152 2 --Sky Striker Mecha - Widow Anchor
!THE WILD LIST
#99
#09910007 1
09910011 1
......
......@@ -60,13 +60,27 @@ end
function c113652145.spfilter(c)
return c:IsSetCard(0x99) and not c:IsCode(113652145) and c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
end
function c113652145.spfilter2(c,tp)
return c:IsHasEffect(48829461,tp) and c:IsAbleToRemoveAsCost() and Duel.GetMZoneCount(tp,c)>0
end
function c113652145.spcon(e,c)
if c==nil then return true end
return (not c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(e:GetHandlerPlayer())>0) and Duel.IsExistingMatchingCard(c113652145.spfilter,c:GetControler(),LOCATION_DECK+LOCATION_EXTRA,0,1,e:GetHandler())
local tp=c:GetControler()
local b1=Duel.IsExistingMatchingCard(c113652145.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA,0,1,nil)
local b2=Duel.IsExistingMatchingCard(c113652145.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil,tp)
return c:IsLocation(LOCATION_HAND) and (Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and b1 or b2) or c:IsLocation(LOCATION_EXTRA) and Duel.GetLocationCountFromEx(tp)>0 and b1
end
function c113652145.spop(e,tp,eg,ep,ev,re,r,rp,c)
local tg=Duel.SelectMatchingCard(tp,c113652145.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA,0,1,1,e:GetHandler())
if tg:GetCount()>0 then
local b1=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingMatchingCard(c113652145.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA,0,1,nil)
local b2=Duel.IsExistingMatchingCard(c113652145.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,nil,tp)
if c:IsLocation(LOCATION_HAND) and b2 and (not b1 or Duel.SelectYesNo(tp,aux.Stringid(48829461,0))) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local tg=Duel.SelectMatchingCard(tp,c113652145.spfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,0,1,1,nil,tp)
local te=tg:GetFirst():IsHasEffect(48829461,tp)
te:UseCountLimit(tp)
Duel.Remove(tg,POS_FACEUP,REASON_COST)
else
local tg=Duel.SelectMatchingCard(tp,c113652145.spfilter,tp,LOCATION_DECK+LOCATION_EXTRA,0,1,1,nil)
Duel.Remove(tg:GetFirst(),POS_FACEUP,REASON_COST)
end
end
......
......@@ -7,7 +7,6 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCountLimit(1,m)
e1:SetCost(cm.spcost)
......@@ -17,7 +16,7 @@ function cm.initial_effect(c)
--revive
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_GRAVE)
e2:SetCode(EVENT_FREE_CHAIN)
......
......@@ -77,8 +77,8 @@ function c116511113.xyzcon1(e,tp,eg,ep,ev,re,r,rp)
end
function c116511113.xyzop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) then return end
if Duel.SelectYesNo(tp,aux.Stringid(116511113,0)) then
if Duel.GetFlagEffect(tp,116511113)==0 and Duel.SelectYesNo(tp,aux.Stringid(116511113,0)) then
Duel.RegisterFlagEffect(tp,116511113,RESET_CHAIN,0,1)
local mg=Group.CreateGroup()
local rc=re:GetHandler()
if rc:IsDisabled() then return end
......@@ -148,20 +148,20 @@ function c116511113.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():CheckRemoveOverlayCard(tp,1,REASON_COST) end
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end
function c116511113.sumfilter(c)
return c:IsSetCard(0x108a) and c:IsSummonable(true,nil)
function c116511113.sumfilter(c,e)
return c:IsSetCard(0x108a) and c:IsSummonable(true,e)
end
function c116511113.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c116511113.sumfilter,tp,LOCATION_DECK,0,1,nil) end
and Duel.IsExistingMatchingCard(c116511113.sumfilter,tp,LOCATION_DECK,0,1,nil,e) end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end
function c116511113.sumop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
local g=Duel.SelectMatchingCard(tp,c116511113.sumfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c116511113.sumfilter,tp,LOCATION_DECK,0,1,1,nil,e)
if g:GetCount()>0 then
Duel.Summon(tp,g:GetFirst(),true,nil)
Duel.Summon(tp,g:GetFirst(),true,e)
end
end
function c116511113.spfilter(c,e,tp)
......
......@@ -137,9 +137,9 @@ function c117837139.condition(e)
return Duel.GetTurnPlayer()~=e:GetHandler():GetControler()
end
function c117837139.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(c117837139.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) then return false end
local g1=Duel.GetMatchingGroup(c117837139.filter2,tp,LOCATION_MZONE,0,nil,e)
local g2=Duel.GetMatchingGroup(c117837139.filter2,tp,0,LOCATION_MZONE,nil,e)
if Duel.IsExistingMatchingCard(c117837139.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,e) then return false end
local g1=Duel.GetMatchingGroup(c117837139.filter2,tp,LOCATION_MZONE,0,nil)
local g2=Duel.GetMatchingGroup(c117837139.filter2,tp,0,LOCATION_MZONE,nil)
Duel.Hint(HINT_CARD,0,117837139)
Duel.ChangePosition(g1,POS_FACEUP_ATTACK)
Duel.ChangePosition(g2,POS_FACEUP_ATTACK)
......
......@@ -190,14 +190,13 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,cm.spfilter,tp,LOCATION_GRAVE,0,2,2,e:GetHandler(),e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,2,tp,LOCATION_GRAVE)
end
function cm.sxfilter(c,mg)
return c:IsSynchroSummonable(nil,mg) or c:IsXyzSummonable(mg,2,2)
function cm.sxfilter(c,tp,mg)
return (c:IsSynchroSummonable(nil,mg) or c:IsXyzSummonable(mg)) and Duel.GetLocationCountFromEx(tp,tp,mg,c)>0
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<2 or g:GetCount()<2 or Duel.IsPlayerAffectedByEffect(tp,59822133) then return end
local tc=g:GetFirst()
while tc do
for tc in aux.Next(g) do
Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -209,11 +208,10 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e2,true)
tc=g:GetNext()
end
Duel.SpecialSummonComplete()
local sxg=Duel.GetMatchingGroup(cm.sxfilter,tp,LOCATION_EXTRA,0,nil,g)
if Duel.GetLocationCountFromEx(tp,tp,g,e:GetHandler())>0 and sxg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
local sxg=Duel.GetMatchingGroup(cm.sxfilter,tp,LOCATION_EXTRA,0,nil,tp,g)
if sxg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sxc=sxg:Select(tp,1,1,nil):GetFirst()
......
......@@ -69,11 +69,21 @@ end
function c118817732.xyzcondition(e,c,og,min,max)
if c==nil then return true end
local tp=c:GetControler()
local mg=Duel.GetMatchingGroup(c118817732.xyzfilter,tp,LOCATION_HAND,0,nil)
return mg:IsExists(aux.TRUE,2,nil)
local mg
if og then
mg=og
else
mg=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
end
return mg:IsExists(c118817732.xyzfilter,2,nil)
end
function c118817732.xyztarget(e,tp,eg,ep,ev,re,r,rp,chk,c,og,min,max)
local mg=Duel.GetMatchingGroup(c118817732.xyzfilter,tp,LOCATION_HAND,0,nil)
local mg=nil
if og then
mg=og
else
mg=Duel.GetMatchingGroup(c118817732.xyzfilter,tp,LOCATION_HAND,0,nil)
end
local g=mg:Select(tp,2,2,nil)
if g then
g:KeepAlive()
......
......@@ -36,10 +36,10 @@ function cm.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not se:GetHandler():IsSetCard(0x5349)and not c:IsCode(33403500)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local b1=Duel.GetFieldGroupCount(tp,0,LOCATION_REMOVED+LOCATION_GRAVE+LOCATION_ONFIELD)
local b1=Duel.IsExistingMatchingCard(aux.disfilter1,tp,0,LOCATION_REMOVED+LOCATION_GRAVE+LOCATION_ONFIELD,1,nil)
local b2=Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,33403500)
if chkc then return true end
if chk==0 then return b1>0 or b2>0 end
if chk==0 then return b1 or b2 end
if e:GetLabel()==1 then
local c=e:GetHandler()
local e2=Effect.CreateEffect(c)
......@@ -83,7 +83,7 @@ function cm.regop2(e,tp,eg,ep,ev,re,r,rp)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local b1=Duel.GetFieldGroupCount(tp,0,LOCATION_REMOVED+LOCATION_GRAVE+LOCATION_ONFIELD)
local b1=Duel.IsExistingMatchingCard(aux.disfilter1,tp,0,LOCATION_REMOVED+LOCATION_GRAVE+LOCATION_ONFIELD,1,nil)
local b2=Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,0,1,nil,33403500)
if not (b1 or b2) then return end
local op
......@@ -95,7 +95,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if op==0 then
local ct=Duel.GetFlagEffect(tp,33403501)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPPO)
local tg=Duel.SelectMatchingCard(tp,nil,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE+LOCATION_REMOVED,1,ct,nil)
local tg=Duel.SelectMatchingCard(tp,aux.disfilter1,tp,0,LOCATION_ONFIELD+LOCATION_GRAVE+LOCATION_REMOVED,1,ct,nil)
local tc=tg:GetFirst()
while tc do
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......@@ -103,21 +103,21 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetValue(RESET_TURN_SET)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2)
if tc:IsType(TYPE_TRAPMONSTER) then
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetCode(EFFECT_DISABLE_TRAPMONSTER)
e3:SetReset(RESET_EVENT+RESETS_STANDARD)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
tc=tg:GetNext()
......
......@@ -123,7 +123,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e6:SetValue(n)
token:RegisterEffect(e6,true)
local e7=e1:Clone()
e7:SetCode(EFFECT_ADD_CODE)
e7:SetType(EFFECT_TYPE_SINGLE)
e7:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e7:SetCode(EFFECT_CHANGE_CODE)
e7:SetValue(tc:GetCode())
token:RegisterEffect(e7,true)
token:CopyEffect(tc:GetCode(),RESET_EVENT+0xfe0000,1)
......
......@@ -84,6 +84,7 @@ function cm.regop2(e,tp,eg,ep,ev,re,r,rp)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not Duel.IsExistingMatchingCard(Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,nil) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
local g1=Duel.SelectMatchingCard(tp,Card.IsAbleToChangeControler,tp,0,LOCATION_MZONE,1,1,nil)
local tc1=g1:GetFirst()
......
......@@ -49,7 +49,7 @@ function c460524290.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local mat=mg:SelectWithSumEqual(tp,Card.GetRitualLevel,tg:GetLevel(),1,99,tg)
tg:SetMaterial(mat)
Duel.SendtoGrave(mat,REASON_EFFECT+REASON_RELEASE)
Duel.SendtoGrave(mat,REASON_EFFECT+REASON_RELEASE+REASON_RITUAL)
Duel.Remove(tg,POS_FACEUP,REASON_EFFECT)
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end
local e1=Effect.CreateEffect(e:GetHandler())
......@@ -57,7 +57,7 @@ function c460524290.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetRange(LOCATION_REMOVED)
e1:SetCode(EVENT_PHASE+PHASE_STANDBY)
e1:SetCountLimit(1)
e1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_STANDBY+RESET_SELF_TURN)
e1:SetCondition(c460524290.spcon)
e1:SetOperation(c460524290.spop)
tg:RegisterEffect(e1)
......
......@@ -71,32 +71,27 @@ function c84610009.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.DiscardHand(tp,c84610009.cfilter,1,1,REASON_DISCARD+REASON_COST,nil)
end
function c84610009.scfilter(c,e,tp)
return c:IsSetCard(0x8) and c:IsType(TYPE_FUSION) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,true,false)
return c:IsSetCard(0x8) and c:IsType(TYPE_FUSION) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,true,false) and Duel.GetMatchingGroup(c84610009.filter1,tp,LOCATION_MZONE,0,nil,tp,c):GetClassCount(Card.GetCode)>2
end
function c84610009.filter1(c)
return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
function c84610009.filter1(c,tp,tc)
return c:IsSetCard(0x8) and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() and Duel.GetLocationCountFromEx(tp,tp,c,tc)>0
end
function c84610009.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local g=Duel.GetMatchingGroup(c84610009.filter1,tp,LOCATION_MZONE,0,nil)
return g:GetClassCount(Card.GetCode)>2
and Duel.GetLocationCountFromEx(tp)>0
and Duel.IsExistingMatchingCard(c84610009.scfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp)
end
if chk==0 then return Duel.IsExistingMatchingCard(c84610009.scfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,3,tp,LOCATION_MZONE)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end
function c84610009.activate1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c84610009.filter1,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c84610009.scfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc then
local g=Duel.GetMatchingGroup(c84610009.filter1,tp,LOCATION_MZONE,0,nil,tp,tc)
if g:GetClassCount(Card.GetCode)<3 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local tg=g:Select(tp,3,3,nil)
g:Remove(Card.IsCode,nil,tg:GetFirst():GetCode())
if Duel.SendtoGrave(tg,REASON_EFFECT)~=0 and tg:IsExists(Card.IsLocation,3,nil,LOCATION_GRAVE) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,c84610009.scfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc then
Duel.SpecialSummon(tc,SUMMON_TYPE_FUSION,tp,tp,true,false,POS_FACEUP)
tc:CompleteProcedure()
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