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
7aafaf12
Commit
7aafaf12
authored
Sep 05, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a1369023
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
22 deletions
+22
-22
expansions/script/c10111122.lua
expansions/script/c10111122.lua
+0
-1
expansions/script/c12832002.lua
expansions/script/c12832002.lua
+1
-1
expansions/script/c12847333.lua
expansions/script/c12847333.lua
+1
-0
expansions/script/c13000770.lua
expansions/script/c13000770.lua
+3
-3
expansions/script/c28322413.lua
expansions/script/c28322413.lua
+1
-1
expansions/script/c53752002.lua
expansions/script/c53752002.lua
+12
-12
expansions/script/c7458127.lua
expansions/script/c7458127.lua
+4
-4
No files found.
expansions/script/c10111122.lua
View file @
7aafaf12
...
...
@@ -14,7 +14,6 @@ function c10111122.initial_effect(c)
e7
:
SetType
(
EFFECT_TYPE_QUICK_O
+
EFFECT_TYPE_TRIGGER_F
)
e7
:
SetCode
(
EVENT_BATTLE_START
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetCountLimit
(
1
)
e7
:
SetCondition
(
c10111122
.
ctcon
)
e7
:
SetTarget
(
c10111122
.
cttg
)
e7
:
SetOperation
(
c10111122
.
ctop
)
...
...
expansions/script/c12832002.lua
View file @
7aafaf12
...
...
@@ -32,7 +32,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
Duel
.
GetTurnPlayer
()
==
1
-
tp
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
EXTRA
)
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
...
...
expansions/script/c12847333.lua
View file @
7aafaf12
...
...
@@ -34,6 +34,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
e3
:
SetCondition
(
cm
.
dscon
)
e3
:
SetTarget
(
cm
.
rmtg
)
e3
:
SetOperation
(
cm
.
rmop
)
...
...
expansions/script/c13000770.lua
View file @
7aafaf12
...
...
@@ -40,7 +40,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
)
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ATKCHANGE
,
nil
,
0
,
tp
,
0
)
end
function
cm
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -53,7 +53,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
e0
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e0
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e0
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e0
)
t
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
...
...
@@ -68,7 +68,7 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
if
tc
:
IsType
(
TYPE_XYZ
)
and
g
:
CheckSubGroup
(
cm
.
filter
,
1
,
99
,
1
-
tp
)
then
if
tc
:
IsType
(
TYPE_XYZ
)
and
g
:
IsExists
(
cm
.
filter
,
1
,
nil
,
1
-
tp
)
then
local
aa
=
g
:
FilterSelect
(
1
-
tp
,
cm
.
filter
,
1
,
1
,
nil
,
1
-
tp
)
Duel
.
SendtoGrave
(
aa
,
REASON_RULE
)
end
...
...
expansions/script/c28322413.lua
View file @
7aafaf12
...
...
@@ -178,7 +178,7 @@ function c28322413.ruop(e,tp,eg,ep,ev,re,r,rp)
local
og
=
Duel
.
GetOperatedGroup
()
local
ct
=
og
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
if
ct
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetCondition
(
c28322413
.
adcon
)
...
...
expansions/script/c53752002.lua
View file @
7aafaf12
...
...
@@ -149,12 +149,12 @@ function s.chtg(_tg)
return
_tg
(
e
,
c
,
...
)
end
end
function
s
.
GetSynMaterials
(
tp
,
syncard
)
function
s
.
SMatCatch
(
tp
,
syncard
)
local
g
=
aux
.
GetSynMaterials
(
tp
,
syncard
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
IsCanBeSynchroMaterial
,
tp
,
0x10
,
0x1c
,
g
,
syncard
)
local
mg
=
Duel
.
GetMatchingGroup
(
s
.
SMatCheck
,
tp
,
0x10
,
0x1c
,
g
,
syncard
)
return
Group
.
__add
(
g
,
mg
)
end
function
s
.
IsCanBeSynchroMaterial
(
c
,
syncard
)
function
s
.
SMatCheck
(
c
,
syncard
)
if
not
(
c
:
IsCanBeSynchroMaterial
(
syncard
)
or
c
:
IsLevel
(
0
))
then
return
false
end
if
c
:
IsStatus
(
STATUS_FORBIDDEN
)
then
return
false
end
if
c
:
IsHasEffect
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
then
return
false
end
...
...
@@ -170,7 +170,7 @@ function s.IsCanBeSynchroMaterial(c,syncard)
else
return
false
end
return
true
end
function
s
.
GetSynchroLeve
l
(
c
,
sc
)
function
s
.
SLevelCa
l
(
c
,
sc
)
local
lv
=
c
:
GetSynchroLevel
(
sc
)
local
tp
=
sc
:
GetControler
()
local
b1
=
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsLevel
(
0
)
and
(
c
:
GetControler
()
~=
tp
or
sc
:
GetOriginalCode
()
==
53752002
)
...
...
@@ -186,7 +186,7 @@ function s.lindfilter(c)
end
function
s
.
lvs
(
c
,
syncard
)
if
not
c
then
return
0
end
local
lv
=
s
.
GetSynchroLeve
l
(
c
,
syncard
)
local
lv
=
s
.
SLevelCa
l
(
c
,
syncard
)
local
lv2
=
lv
>>
16
lv
=
lv
&
0xffff
if
lv2
>
0
then
return
lv
,
lv2
else
return
lv
end
...
...
@@ -260,21 +260,21 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8173184
)
then
Duel
.
RegisterFlagEffect
(
tp
,
8173184
+
1
,
0
,
0
,
1
)
end
if
smat
and
not
s
.
IsCanBeSynchroMaterial
(
smat
,
c
)
then
if
smat
and
not
s
.
SMatCheck
(
smat
,
c
)
then
Duel
.
ResetFlagEffect
(
tp
,
8173184
+
1
)
return
false
end
local
mg
local
mgchk
=
false
if
mg1
then
mg
=
mg1
:
Filter
(
s
.
IsCanBeSynchroMaterial
,
nil
,
c
)
mg
=
mg1
:
Filter
(
s
.
SMatCheck
,
nil
,
c
)
mgchk
=
true
else
mg
=
s
.
GetSynMaterials
(
tp
,
c
)
mg
=
s
.
SMatCatch
(
tp
,
c
)
end
if
smat
~=
nil
then
mg
:
AddCard
(
smat
)
end
Auxiliary
.
SubGroupCaptured
=
Group
.
CreateGroup
()
SNNM
.
SubGroupParams
=
{
s
.
slfilter
,
s
.
GetSynchroLeve
l
,
nil
,
true
,
true
,{
c
},{
c
}}
SNNM
.
SubGroupParams
=
{
s
.
slfilter
,
s
.
SLevelCa
l
,
nil
,
true
,
true
,{
c
},{
c
}}
aux
.
GCheckAdditional
=
s
.
gcheck
(
c
)
local
res
=
SNNM
.
SelectSubGroup
(
mg
,
tp
,
s
.
syngoal
,
Duel
.
IsSummonCancelable
(),
2
,
#
mg
,
c
,
smat
,
tp
,
mgchk
)
aux
.
GCheckAdditional
=
nil
...
...
@@ -327,13 +327,13 @@ function s.SynMixTarget(e,tp,eg,ep,ev,re,r,rp,chk,c)
local
mg
local
mgchk
=
false
if
mg1
then
mg
=
mg1
:
Filter
(
s
.
IsCanBeSynchroMaterial
,
nil
,
c
)
mg
=
mg1
:
Filter
(
s
.
SMatCheck
,
nil
,
c
)
mgchk
=
true
else
mg
=
s
.
GetSynMaterials
(
tp
,
c
)
mg
=
s
.
SMatCatch
(
tp
,
c
)
end
if
smat
~=
nil
then
mg
:
AddCard
(
smat
)
end
SNNM
.
SubGroupParams
=
{
s
.
slfilter
,
s
.
GetSynchroLeve
l
,
nil
,
true
,
false
,{
c
},{
c
}}
SNNM
.
SubGroupParams
=
{
s
.
slfilter
,
s
.
SLevelCa
l
,
nil
,
true
,
false
,{
c
},{
c
}}
aux
.
GCheckAdditional
=
s
.
gcheck
(
c
)
local
sg
=
SNNM
.
SelectSubGroup
(
mg
,
tp
,
s
.
syngoal
,
Duel
.
IsSummonCancelable
(),
2
,
#
mg
,
c
,
smat
,
tp
,
mgchk
)
aux
.
GCheckAdditional
=
nil
...
...
expansions/script/c7458127.lua
View file @
7aafaf12
...
...
@@ -36,10 +36,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e12
=
e1
:
Clone
()
e12
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e12
)
Duel
.
RegisterEffect
(
e12
,
tp
)
local
e13
=
e1
:
Clone
()
e13
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e13
)
Duel
.
RegisterEffect
(
e13
,
tp
)
--sp_summon effect
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
...
...
@@ -51,10 +51,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e22
=
e2
:
Clone
()
e22
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e22
)
Duel
.
RegisterEffect
(
e22
,
tp
)
local
e23
=
e2
:
Clone
()
e23
:
SetCode
(
EVENT_FLIP_SUMMON_SUCCESS
)
c
:
RegisterEffect
(
e23
)
Duel
.
RegisterEffect
(
e23
,
tp
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
...
...
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