Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
e4fb6d5a
Commit
e4fb6d5a
authored
Dec 05, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Auxiliary.AssaultModeLimit
parent
81d461a9
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
7 deletions
+12
-7
c14553285.lua
c14553285.lua
+1
-1
c1764972.lua
c1764972.lua
+1
-1
c37169670.lua
c37169670.lua
+1
-1
c38898779.lua
c38898779.lua
+1
-1
c47027714.lua
c47027714.lua
+1
-0
c77336644.lua
c77336644.lua
+1
-1
c80280737.lua
c80280737.lua
+2
-2
procedure.lua
procedure.lua
+4
-0
No files found.
c14553285.lua
View file @
e4fb6d5a
...
@@ -8,7 +8,7 @@ function c14553285.initial_effect(c)
...
@@ -8,7 +8,7 @@ function c14553285.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--counter
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c1764972.lua
View file @
e4fb6d5a
...
@@ -7,7 +7,7 @@ function c1764972.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c1764972.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--Special summon
--Special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c37169670.lua
View file @
e4fb6d5a
...
@@ -7,7 +7,7 @@ function c37169670.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c37169670.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--damage&recover
--damage&recover
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c38898779.lua
View file @
e4fb6d5a
...
@@ -7,7 +7,7 @@ function c38898779.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c38898779.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--to grave
--to grave
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c47027714.lua
View file @
e4fb6d5a
...
@@ -7,6 +7,7 @@ function c47027714.initial_effect(c)
...
@@ -7,6 +7,7 @@ function c47027714.initial_effect(c)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e0
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--anti summon and remove
--anti summon and remove
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c77336644.lua
View file @
e4fb6d5a
...
@@ -7,7 +7,7 @@ function c77336644.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c77336644.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
FALSE
)
e1
:
SetValue
(
aux
.
AssaultModeLimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
c80280737.lua
View file @
e4fb6d5a
...
@@ -20,7 +20,7 @@ function c80280737.filter1(c,e,tp)
...
@@ -20,7 +20,7 @@ function c80280737.filter1(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c80280737
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
and
Duel
.
IsExistingMatchingCard
(
c80280737
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
end
function
c80280737
.
filter2
(
c
,
e
,
tp
,
tcode
)
function
c80280737
.
filter2
(
c
,
e
,
tp
,
tcode
)
return
c
:
IsSetCard
(
0x104f
)
and
c
.
assault_name
==
tcode
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
fals
e
,
POS_FACEUP_ATTACK
)
return
c
:
IsSetCard
(
0x104f
)
and
c
.
assault_name
==
tcode
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
tru
e
,
POS_FACEUP_ATTACK
)
end
end
function
c80280737
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c80280737
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
@@ -37,7 +37,7 @@ function c80280737.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c80280737.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c80280737
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
()):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c80280737
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
()):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
fals
e
,
POS_FACEUP_ATTACK
)
>
0
then
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
tru
e
,
POS_FACEUP_ATTACK
)
>
0
then
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
procedure.lua
View file @
e4fb6d5a
...
@@ -1999,3 +1999,7 @@ end
...
@@ -1999,3 +1999,7 @@ end
function
Auxiliary
.
linklimit
(
e
,
se
,
sp
,
st
)
function
Auxiliary
.
linklimit
(
e
,
se
,
sp
,
st
)
return
st
&
SUMMON_TYPE_LINK
==
SUMMON_TYPE_LINK
return
st
&
SUMMON_TYPE_LINK
==
SUMMON_TYPE_LINK
end
end
--sp_summon condition for /Assault Mode
function
Auxiliary
.
AssaultModeLimit
(
e
,
se
,
sp
,
st
)
return
se
:
GetHandler
():
IsCode
(
80280737
)
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