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
f92f7054
Commit
f92f7054
authored
Dec 11, 2021
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c22200005.lua
parent
c46ee783
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
81 additions
and
81 deletions
+81
-81
script/c22200005.lua
script/c22200005.lua
+81
-81
No files found.
script/c22200005.lua
View file @
f92f7054
...
...
@@ -23,14 +23,14 @@ function c22200005.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c22200005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c22200005
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
22200999
)
if
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
>
0
then
local
a
=
Duel
.
GetAttacker
()
...
...
@@ -61,11 +61,11 @@ function c22200005.cfilter(c,tp)
return
c
:
IsReason
(
REASON_BATTLE
)
and
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c22200005
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c22200005
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
return
eg
:
IsExists
(
c22200005
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
end
function
c22200005
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
then
return
end
if
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
22200999
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
then
return
end
Duel
.
Hint
(
HINT_CARD
,
tp
,
22200005
)
local
token
=
Duel
.
CreateToken
(
tp
,
22200999
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
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