Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
541da80b
Commit
541da80b
authored
Sep 29, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
300911f7
Pipeline
#30078
passed with stages
in 30 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
expansions/script/c1009022.lua
expansions/script/c1009022.lua
+11
-7
No files found.
expansions/script/c1009022.lua
View file @
541da80b
...
...
@@ -31,13 +31,14 @@ function c1009022.initial_effect(c)
e4
:
SetLabelObject
(
e3
)
c
:
RegisterEffect
(
e4
)
--summon with s/t
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_ADD_EXTRA_TRIBUTE
)
e1
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e1
:
SetValue
(
POS_FACEUP_ATTACK
)
c
:
RegisterEffect
(
e1
)
local
e11
=
Effect
.
CreateEffect
(
c
)
e11
:
SetType
(
EFFECT_TYPE_SINGLE
)
e11
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e11
:
SetCode
(
EFFECT_ADD_EXTRA_TRIBUTE
)
e11
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e11
:
SetTarget
(
c1009022
.
exrtg
)
e11
:
SetValue
(
POS_FACEUP_ATTACK
)
c
:
RegisterEffect
(
e11
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1160
)
...
...
@@ -72,6 +73,9 @@ function c1009022.initial_effect(c)
e4
:
SetOperation
(
c1009022
.
desop
)
c
:
RegisterEffect
(
e4
)
end
function
c1009022
.
exrtg
(
e
,
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
end
function
c1009022
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeckAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
2
,
REASON_COST
)
...
...
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