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
5
Merge Requests
5
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
eb950ab3
Commit
eb950ab3
authored
Mar 27, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix AddRitualProc usage
parent
2dd054ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
c16310544.lua
c16310544.lua
+1
-1
c18890039.lua
c18890039.lua
+1
-1
c82128978.lua
c82128978.lua
+2
-1
No files found.
c16310544.lua
View file @
eb950ab3
--御巫神楽
function
c16310544
.
initial_effect
(
c
)
local
e1
=
aux
.
AddRitualProcGreater2
(
c
,
c16310544
.
filter
,
LOCATION_HAND
,
nil
,
nil
,
fals
e
,
c16310544
.
extraop
)
local
e1
=
aux
.
AddRitualProcGreater2
(
c
,
c16310544
.
filter
,
LOCATION_HAND
,
nil
,
nil
,
tru
e
,
c16310544
.
extraop
)
e1
:
SetCountLimit
(
1
,
16310544
+
EFFECT_COUNT_CODE_OATH
)
c
:
RegisterEffect
(
e1
)
end
...
...
c18890039.lua
View file @
eb950ab3
...
...
@@ -10,7 +10,7 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
op
)
c
:
RegisterEffect
(
e1
)
--Ritual sum
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
,
nil
,
nil
,
true
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_FZONE
)
c
:
RegisterEffect
(
e2
)
...
...
c82128978.lua
View file @
eb950ab3
...
...
@@ -13,12 +13,13 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--Ritual sum
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
)
local
e2
=
aux
.
AddRitualProcGreater2
(
c
,
s
.
ritfilter
,
LOCATION_HAND
,
nil
,
nil
,
true
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
ritcond
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
ritcond
(
e
,
tp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
...
...
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