Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
MyCard
pre-release-database-cdb
Commits
0a6ebb4f
You need to sign in or sign up before continuing.
Commit
0a6ebb4f
authored
May 14, 2024
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
see
https://github.com/Fluorohydride/ygopro-scripts/pull/2532
parent
6471a481
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
script/c100220206.lua
script/c100220206.lua
+5
-1
No files found.
script/c100220206.lua
View file @
0a6ebb4f
--青い涙の乙女
--青い涙の乙女
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--same effect send this card to grave and summon another card check
local
e0
=
aux
.
AddThisCardInGraveAlreadyCheck
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
...
@@ -19,6 +21,7 @@ function s.initial_effect(c)
...
@@ -19,6 +21,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetLabelObject
(
e0
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
setcon
)
e2
:
SetCondition
(
s
.
setcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
@@ -61,7 +64,8 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +64,8 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
local
se
=
e
:
GetLabelObject
():
GetLabelObject
()
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
(
se
==
nil
or
e
:
GetHandler
():
GetReasonEffect
()
~=
se
)
end
end
function
s
.
setfilter
(
c
)
function
s
.
setfilter
(
c
)
return
c
:
IsFaceupEx
()
and
c
:
GetType
()
==
TYPE_SPELL
and
c
:
IsSSetable
()
return
c
:
IsFaceupEx
()
and
c
:
GetType
()
==
TYPE_SPELL
and
c
:
IsSSetable
()
...
...
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