Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nemo Ma
no81cards
Commits
45f6a418
Commit
45f6a418
authored
Mar 31, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4683bec7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
178 deletions
+16
-178
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/pics/91020013.jpg
expansions/pics/91020013.jpg
+0
-0
expansions/script/c11451907.lua
expansions/script/c11451907.lua
+7
-34
expansions/script/c88100316.lua
expansions/script/c88100316.lua
+9
-4
expansions/script/c91020013.lua
expansions/script/c91020013.lua
+0
-140
No files found.
expansions/no81.cdb
View file @
45f6a418
No preview for this file type
expansions/pics/91020013.jpg
deleted
100644 → 0
View file @
4683bec7
60 KB
expansions/script/c11451907.lua
View file @
45f6a418
...
...
@@ -116,40 +116,13 @@ function cm.initial_effect(c)
end
if
not
PTFL_SUMMONRULE_CHECK
then
PTFL_SUMMONRULE_CHECK
=
true
local
_Summon
=
Duel
.
Summon
local
_MSet
=
Duel
.
MSet
local
_SpecialSummonRule
=
Duel
.
SpecialSummonRule
local
_SynchroSummon
=
Duel
.
SynchroSummon
local
_XyzSummon
=
Duel
.
XyzSummon
local
_XyzSummonByRose
=
Duel
.
XyzSummonByRose
local
_LinkSummon
=
Duel
.
LinkSummon
Duel
.
Summon
=
function
(
p
,
c
,
...
)
_Summon
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
MSet
=
function
(
p
,
c
,
...
)
_MSet
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
SpecialSummonRule
=
function
(
p
,
c
,
...
)
_SpecialSummonRule
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
SynchroSummon
=
function
(
p
,
c
,
...
)
_SynchroSummon
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
XyzSummon
=
function
(
p
,
c
,
...
)
_XyzSummon
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
XyzSummonByRose
=
function
(
p
,
c
,
...
)
_XyzSummonByRose
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
Duel
.
LinkSummon
=
function
(
p
,
c
,
...
)
_LinkSummon
(
p
,
c
,
...
)
if
Duel
.
GetCurrentChain
()
==
1
then
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
local
summon_set
=
{
"Summon"
,
"MSet"
,
"SpecialSummonRule"
,
"SynchroSummon"
,
"XyzSummon"
,
"XyzSummonByRose"
,
"LinkSummon"
}
for
i
,
fname
in
pairs
(
summon_set
)
do
local
temp_f
=
Duel
[
fname
]
Duel
[
fname
]
=
function
(
p
,
c
,
...
)
temp_f
(
p
,
c
,
...
)
c
:
RegisterFlagEffect
(
11451905
,
RESET_CHAIN
,
0
,
1
)
end
end
end
end
...
...
expansions/script/c88100316.lua
View file @
45f6a418
...
...
@@ -52,6 +52,7 @@ function c88100316.initial_effect(c)
e7
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e7
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e7
:
SetCode
(
EVENT_FREE_CHAIN
)
e7
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCountLimit
(
1
,
88100316
)
e7
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
...
...
@@ -64,6 +65,7 @@ function c88100316.initial_effect(c)
e8
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e8
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e8
:
SetCode
(
EVENT_FREE_CHAIN
)
e8
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetCountLimit
(
1
,
88100316
)
e8
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
...
...
@@ -239,8 +241,9 @@ end
function
c88100316
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
TYPE_MONSTER
)
end
function
c88100316
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
c88100316
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
@@ -256,13 +259,15 @@ end
function
c88100316
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
TYPE_MONSTER
)
end
function
c88100316
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c88100316
.
destg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsType
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SPELL
+
TYPE_TRAP
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c88100316
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
GetHandler
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c91020013.lua
deleted
100644 → 0
View file @
4683bec7
--真神 翼神龙-不死鸟
local
m
=
91020013
local
cm
=
c91020013
function
c91020013
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
cm
.
splimit
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCondition
(
c91020013
.
spcon1
)
e2
:
SetTarget
(
c91020013
.
sptg1
)
e2
:
SetOperation
(
c91020013
.
spop1
)
c
:
RegisterEffect
(
e2
)
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
c91020013
.
efilter
)
c
:
RegisterEffect
(
e3
)
--tograve
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetCategory
(
CATEGORY_TOGRAVE
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCost
(
c91020013
.
tgcost
)
e4
:
SetTarget
(
c91020013
.
tgtg
)
e4
:
SetOperation
(
c91020013
.
tgop
)
c
:
RegisterEffect
(
e4
)
--spsummon
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e5
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e5
:
SetTarget
(
c91020013
.
sptg2
)
e5
:
SetOperation
(
c91020013
.
spop2
)
c
:
RegisterEffect
(
e5
)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e8
:
SetCategory
(
CATEGORY_TOGRAVE
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e8
:
SetCode
(
EVENT_FREE_CHAIN
)
e8
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e8
:
SetCountLimit
(
1
)
e8
:
SetCondition
(
cm
.
con8
)
e8
:
SetCost
(
c91020013
.
tgcost
)
e8
:
SetTarget
(
c91020013
.
tgtg
)
e8
:
SetOperation
(
c91020013
.
tgop
)
c
:
RegisterEffect
(
e8
)
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
local
sc
=
se
:
GetHandler
()
return
sc
and
sc
:
IsType
(
TYPE_MONSTER
)
and
(
sc
:
IsCode
(
91020012
)
or
sc
:
IsCode
(
91020013
)
or
sc
:
IsCode
(
91020014
))
end
function
c91020013
.
cfilter
(
c
,
tp
)
return
c
:
IsCode
(
91020014
)
and
c
:
IsControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c91020013
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
eg
:
IsContains
(
e
:
GetHandler
())
and
eg
:
IsExists
(
c91020013
.
cfilter
,
1
,
nil
,
tp
)
end
function
c91020013
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetChainLimit
(
aux
.
FALSE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c91020013
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
~=
0
then
c
:
CompleteProcedure
()
end
end
function
c91020013
.
efilter
(
e
,
te
)
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
end
function
c91020013
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
2000
)
end
Duel
.
PayLPCost
(
tp
,
2000
)
end
function
c91020013
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
PLAYER_ALL
,
LOCATION_MZONE
)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
function
c91020013
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
function
c91020013
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
91020012
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c91020013
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
)
end
function
c91020013
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_GRAVE
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c91020013
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetValue
(
4000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
end
Duel
.
SpecialSummonComplete
()
end
end
--e8
function
cm
.
con8
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsPlayerAffectedByEffect
(
tp
,
91000002
)
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment