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
Huangnan
no81cards
Commits
8a0e59d5
Commit
8a0e59d5
authored
Aug 02, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b2b0e187
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
14 deletions
+16
-14
expansions/script/c11560308.lua
expansions/script/c11560308.lua
+1
-1
expansions/script/c11560320.lua
expansions/script/c11560320.lua
+1
-1
expansions/script/c13131368.lua
expansions/script/c13131368.lua
+1
-1
expansions/script/c13254072.lua
expansions/script/c13254072.lua
+1
-1
expansions/script/c20220723.lua
expansions/script/c20220723.lua
+4
-2
expansions/script/c43990019.lua
expansions/script/c43990019.lua
+1
-1
expansions/script/c43990020.lua
expansions/script/c43990020.lua
+1
-1
expansions/script/c60002157.lua
expansions/script/c60002157.lua
+1
-1
expansions/script/c79029819.lua
expansions/script/c79029819.lua
+1
-1
expansions/script/c79029821.lua
expansions/script/c79029821.lua
+1
-1
expansions/script/c98910021.lua
expansions/script/c98910021.lua
+2
-2
expansions/script/c98940002.lua
expansions/script/c98940002.lua
+1
-1
No files found.
expansions/script/c11560308.lua
View file @
8a0e59d5
...
...
@@ -57,7 +57,7 @@ function c11560308.target(e,tp,eg,ep,ev,re,r,rp,chk)
aux
.
RGCheckAdditional
=
nil
return
res
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
DECK
)
end
function
c11560308
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
m
=
Duel
.
GetRitualMaterial
(
tp
)
...
...
expansions/script/c11560320.lua
View file @
8a0e59d5
...
...
@@ -58,7 +58,7 @@ function c11560320.target(e,tp,eg,ep,ev,re,r,rp,chk)
aux
.
RGCheckAdditional
=
nil
return
res
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
REMOVED
)
end
function
c11560320
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
m
=
Duel
.
GetRitualMaterial
(
tp
)
...
...
expansions/script/c13131368.lua
View file @
8a0e59d5
...
...
@@ -79,7 +79,7 @@ end
function
cm
.
remop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
rmfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
x
=
Duel
.
Remove
(
g
,
POS_
DEFENSE
,
REASON_EFFECT
)
local
x
=
Duel
.
Remove
(
g
,
POS_
FACEUP
,
REASON_EFFECT
)
if
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsCode
,
1
,
nil
,
57707471
)
and
x
>
0
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
800
,
REASON_EFFECT
)
...
...
expansions/script/c13254072.lua
View file @
8a0e59d5
...
...
@@ -17,7 +17,7 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
...
...
expansions/script/c20220723.lua
View file @
8a0e59d5
...
...
@@ -25,9 +25,11 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
op
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsRace
(
RACE_WYRM
)
and
c
:
IsFaceup
()
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsExistingMatchingCard
(
aux
.
FilterFaceupFunction
(
Card
.
IsRace
,
RACE_WYRM
),
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
or
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c43990019.lua
View file @
8a0e59d5
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
43990016
)
--draw
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_
TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
43990019
)
...
...
expansions/script/c43990020.lua
View file @
8a0e59d5
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
43990016
)
--draw
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_
TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
43990020
)
...
...
expansions/script/c60002157.lua
View file @
8a0e59d5
...
...
@@ -57,7 +57,7 @@ end
function
cm
.
incon
(
e
)
return
Card
.
GetCounter
(
e
:
GetHandler
(),
0x624
)
>=
1
end
function
cm
.
spcon
(
e
,
c
)
function
cm
.
spcon
(
e
,
c
,
tp
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetFlagEffect
(
tp
,
60002148
)
>=
6
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
...
...
expansions/script/c79029819.lua
View file @
8a0e59d5
--逆元构造 绯耀
function
c79029819
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
3
,
3
,
c79029819
.
ovfilter
,
aux
.
Stringid
(
79029819
,
0
),
99
,
c79029819
.
xyzop
)
aux
.
AddXyzProcedure
(
c
,
function
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
end
,
3
,
3
,
c79029819
.
ovfilter
,
aux
.
Stringid
(
79029819
,
0
),
99
,
c79029819
.
xyzop
)
c
:
EnableReviveLimit
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c79029821.lua
View file @
8a0e59d5
...
...
@@ -2,7 +2,7 @@
function
c79029821
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
c79029821
.
matfilter1
,
nil
,
nil
,
aux
.
NonTuner
(
nil
),
1
,
99
)
aux
.
AddSynchroMixProcedure
(
c
,
c79029821
.
matfilter1
,
nil
,
nil
,
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_MACHINE
),
1
,
99
)
--Remove and lv
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_REMOVE
)
...
...
expansions/script/c98910021.lua
View file @
8a0e59d5
...
...
@@ -52,11 +52,11 @@ end
function
c98910021
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
c98910021
.
xyzfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c98910021
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c98910021
.
mafilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
c98910021
.
ma
t
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c98910021
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
37564025
,
0
))
local
g2
=
Duel
.
SelectTarget
(
tp
,
c98910021
.
mafilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c98910021
.
ma
t
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
e
:
SetLabelObject
(
g2
:
GetFirst
())
end
function
c98910021
.
activate1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c98940002.lua
View file @
8a0e59d5
...
...
@@ -28,7 +28,7 @@ function c98940002.cfilter(c)
end
function
c98940002
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
local
ct2
=
Duel
.
GetMatchingGroupCount
(
c98940002
.
sp
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ct2
=
Duel
.
GetMatchingGroupCount
(
c98940002
.
c
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
chk1
=
ct1
==
0
local
chk2
=
ct2
>
0
and
ct1
-
ct2
==
0
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
...
...
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