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
df157852
Commit
df157852
authored
Jan 27, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Sunset Beat
反转怪兽反转时才能发动2效果,效果处理时需要那只怪兽表侧表示
parent
04914de7
Pipeline
#25131
passed with stages
in 59 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
PHNI-EN.cdb
PHNI-EN.cdb
+0
-0
script/c101203086.lua
script/c101203086.lua
+4
-4
No files found.
PHNI-EN.cdb
View file @
df157852
No preview for this file type
script/c101203086.lua
View file @
df157852
--
黄昏节拍
--
Sunset Beat
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_CHANGE_POS
)
...
...
@@ -50,7 +50,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
cfilter2
(
c
,
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEDOWN
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEDOWN
)
and
c
:
IsFaceup
()
and
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_FLIP
)
end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter2
,
1
,
nil
,
tp
)
...
...
@@ -69,6 +69,6 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsPosition
(
POS_FACEUP
)
or
not
tc
:
IsType
(
TYPE_MONSTER
)
then
return
end
Duel
.
Damage
(
1
-
tp
,
tc
:
GetLevel
()
*
200
,
REASON_EFFECT
)
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