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
REIKAI
ygopro-222DIY-cards
Commits
8b199bf7
Commit
8b199bf7
authored
Nov 27, 2024
by
森野さくら
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c60152903.lua
parent
840114f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
expansions/script/c60152903.lua
expansions/script/c60152903.lua
+8
-4
No files found.
expansions/script/c60152903.lua
View file @
8b199bf7
...
@@ -20,7 +20,7 @@ function c60152903.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c60152903.initial_effect(c)
c60152903
.
global_check
=
true
c60152903
.
global_check
=
true
local
ge1
=
Effect
.
GlobalEffect
()
local
ge1
=
Effect
.
GlobalEffect
()
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_BATTLE
D
)
ge1
:
SetCode
(
EVENT_BATTLE
_CONFIRM
)
ge1
:
SetOperation
(
c60152903
.
checkop
)
ge1
:
SetOperation
(
c60152903
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
...
@@ -28,6 +28,7 @@ function c60152903.initial_effect(c)
...
@@ -28,6 +28,7 @@ function c60152903.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
60152903
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
60152903
,
1
))
e2
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_DEFCHANGE
)
e2
:
SetCategory
(
CATEGORY_DAMAGE
+
CATEGORY_DEFCHANGE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
@@ -114,9 +115,12 @@ function c60152903.check(c)
...
@@ -114,9 +115,12 @@ function c60152903.check(c)
return
c
return
c
end
end
function
c60152903
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60152903
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
c60152903
.
check
(
Duel
.
GetAttacker
())
and
c60152903
.
check
(
Duel
.
GetAttackTarget
())
then
local
c0
,
c1
=
Duel
.
GetBattleMonster
(
0
)
Duel
.
RegisterFlagEffect
(
tp
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
c60152903
.
check
(
c0
)
then
Duel
.
RegisterFlagEffect
(
1
-
tp
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
0
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
c60152903
.
check
(
c1
)
then
Duel
.
RegisterFlagEffect
(
1
,
60152903
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
end
end
function
c60152903
.
e2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60152903
.
e2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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