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
074b7d49
Commit
074b7d49
authored
Jan 06, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
k fix
parent
fe8a298c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
script/c74563002.lua
script/c74563002.lua
+4
-12
script/c74563008.lua
script/c74563008.lua
+1
-0
No files found.
script/c74563002.lua
View file @
074b7d49
...
...
@@ -25,31 +25,23 @@ function c74563002.initial_effect(c)
e4
:
SetOperation
(
c74563002
.
desop
)
c
:
RegisterEffect
(
e4
)
end
function
c74563002
.
tfilter
(
c
)
return
c
:
IsSetCard
(
0x497
)
and
c
:
IsFaceup
()
end
function
c74563002
.
actcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c74563002
.
tfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
0x497
)
end
function
c74563002
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
1
,
0x128a
,
1
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
1
,
1
,
0x128a
,
1
,
REASON_COST
)
end
function
c74563002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
tp
)
if
chk
==
0
then
return
ft1
>
0
and
ft2
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
nil
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
nil
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
end
function
c74563002
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
nil
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
nil
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
74563020
,
0
,
TYPES_TOKEN_MONSTER
,
0
,
0
,
1
,
RACE_AQUA
,
ATTRIBUTE_WATER
,
POS_FACEUP_DEFENSE
,
1
-
tp
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
return
end
local
token1
=
Duel
.
CreateToken
(
tp
,
74563020
)
local
token2
=
Duel
.
CreateToken
(
tp
,
74563020
)
...
...
script/c74563008.lua
View file @
074b7d49
...
...
@@ -11,6 +11,7 @@ function c74563008.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetTarget
(
c74563008
.
target
)
e1
:
SetOperation
(
c74563008
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
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