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
yks
pre-release-database-cdb
Commits
bb24938a
Commit
bb24938a
authored
May 15, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-4' into 'master'
fix--青い涙の乙女 See merge request
mycard/pre-release-database-cdb!27
parents
9c221ef2
6b396c5f
Changes
1
Hide 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 @
bb24938a
--青い涙の乙女
local
s
,
id
,
o
=
GetID
()
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
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
...
...
@@ -19,6 +21,7 @@ function s.initial_effect(c)
e2
:
SetCode
(
EVENT_DAMAGE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetLabelObject
(
e0
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
setcon
)
e2
:
SetCost
(
aux
.
bfgcost
)
...
...
@@ -61,7 +64,8 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
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
function
s
.
setfilter
(
c
)
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