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
b9bf9b90
Commit
b9bf9b90
authored
Jun 27, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 魂を刻む右
parent
030089c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
script/c100222204.lua
script/c100222204.lua
+13
-14
No files found.
script/c100222204.lua
View file @
b9bf9b90
...
...
@@ -78,23 +78,22 @@ function s.atkfilter(c,atk)
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
qc
=
e
:
GetHandler
():
GetEquipTarget
()
local
atk
=
qc
:
GetAttack
()
if
chk
==
0
then
return
qc
and
Duel
.
IsExistingMatchingCard
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
atk
)
end
if
chk
==
0
then
return
qc
and
Duel
.
IsExistingMatchingCard
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
qc
:
GetAttack
())
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
qc
=
e
:
GetHandler
():
GetEquipTarget
()
local
atk
=
qc
:
GetAttack
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
atk
)
local
tc
=
g
:
GetFirst
()
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
if
qc
and
qc
:
IsType
(
TYPE_MONSTER
)
and
qc
:
IsFaceup
()
then
local
atk
=
qc
:
GetAttack
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
atk
)
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
atk
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
end
function
s
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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