Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
八宫一月
ygopro-THC-cards
Commits
773b50ff
Commit
773b50ff
authored
Feb 25, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sama season cards' wrong dependencies on oil seasons
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
07d3d191
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
14 deletions
+5
-14
script/c10100.lua
script/c10100.lua
+1
-3
script/c20200.lua
script/c20200.lua
+2
-5
script/c22400.lua
script/c22400.lua
+1
-3
script/c23300.lua
script/c23300.lua
+1
-3
No files found.
script/c10100.lua
View file @
773b50ff
...
...
@@ -23,9 +23,7 @@ function c10100.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
c
,
n
,
m
=
Nef
.
GetDate
()
local
flag
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
999104
)
and
Nef
.
GetCommonCounter
(
999104
,
tp
)
==
4
if
((
n
==
12
or
n
<
3
)
or
flag
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10100
,
0
))
then
if
flag
then
Duel
.
Hint
(
HINT_CARD
,
0
,
999104
)
end
if
(
n
==
12
or
n
<
3
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
10100
,
0
))
then
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
end
end
script/c20200.lua
View file @
773b50ff
...
...
@@ -24,20 +24,17 @@ function c20200.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g1
,
2
,
0
,
0
)
local
y
,
m
,
d
=
Nef
.
GetDate
()
local
flag
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
999104
)
and
Nef
.
GetCommonCounter
(
999104
,
tp
)
==
1
if
(
m
>=
3
and
m
<=
5
)
or
flag
then
if
m
>=
3
and
m
<=
5
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
1000
)
end
end
function
c20200
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
y
,
m
,
d
=
Nef
.
GetDate
()
local
flag
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
999104
)
and
Nef
.
GetCommonCounter
(
999104
,
tp
)
==
1
if
g
:
GetCount
()
==
2
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
if
(
m
>=
3
and
m
<=
5
)
or
flag
then
if
flag
then
Duel
.
Hint
(
HINT_CARD
,
0
,
999104
)
end
if
m
>=
3
and
m
<=
5
then
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
...
...
script/c22400.lua
View file @
773b50ff
...
...
@@ -35,10 +35,8 @@ function c22400.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
d
,
p
,
l
=
Nef
.
GetDate
()
local
flag
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
999104
)
and
Nef
.
GetCommonCounter
(
999104
,
tp
)
==
2
local
g
=
Duel
.
GetMatchingGroup
(
c22400
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
flag
then
Duel
.
Hint
(
HINT_CARD
,
0
,
999104
)
end
if
((
p
>
5
or
p
<
10
)
or
flag
)
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
22400
,
0
))
then
if
(
p
>
5
or
p
<
10
)
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
22400
,
0
))
then
local
tc
=
g
:
GetFirst
()
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c23300.lua
View file @
773b50ff
...
...
@@ -25,9 +25,7 @@ function c23300.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c23300
.
filter1
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
or
Duel
.
IsExistingTarget
(
c23300
.
filter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
y
,
m
,
d
=
Nef
.
GetDate
()
local
flag
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
999104
)
and
Nef
.
GetCommonCounter
(
999104
,
tp
)
==
3
if
(
m
==
10
or
m
==
11
)
or
flag
then
if
flag
then
Duel
.
Hint
(
HINT_CARD
,
0
,
999104
)
end
if
m
==
10
or
m
==
11
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c23300
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
2
,
nil
)
else
...
...
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