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
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
c0e32b5a
Commit
c0e32b5a
authored
Aug 13, 2024
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c66916006.lua
parent
8e3e6c9c
Pipeline
#29189
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c66916006.lua
script/c66916006.lua
+4
-4
No files found.
script/c66916006.lua
View file @
c0e32b5a
...
...
@@ -37,14 +37,14 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
false
end
if
chk
==
0
then
return
eg
:
IsExists
(
cm
.
filter
,
1
,
nil
,
e
,
tp
,
re
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_WIND
,
POS_FACEUP
,
1
-
tp
)
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
x208
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
1
-
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<
1
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_WIND
,
POS_FACEUP
,
1
-
tp
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
x208
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
1
-
tp
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
10070
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
@@ -54,13 +54,13 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
targets
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_WIND
,
POS_FACEUP
,
tp
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
x208
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
cm
.
activates
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_WIND
,
POS_FACEUP
,
tp
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
10070
,
0
x208
,
0x4011
,
0
,
0
,
1
,
RACE_FAIRY
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
,
tp
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
10070
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
\ No newline at end of file
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