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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
37004aa5
Commit
37004aa5
authored
May 04, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
str
parent
2e636631
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16400100.lua
expansions/script/c16400100.lua
+6
-4
No files found.
expansions/222DIY.cdb
View file @
37004aa5
No preview for this file type
expansions/script/c16400100.lua
View file @
37004aa5
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
...
@@ -13,7 +13,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e2
:
SetCode
(
EFFECT_CHANGE_DAMAGE
)
e2
:
SetRange
(
LOCATION_
M
ZONE
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetValue
(
s
.
damval2
)
e2
:
SetValue
(
s
.
damval2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -44,14 +44,16 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,14 +44,16 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
--
function
s
.
damval2
(
e
,
re
,
val
,
r
,
rp
,
rc
)
function
s
.
damval2
(
e
,
re
,
val
,
r
,
rp
,
rc
)
local
c
=
e
:
GetHandl
er
()
local
tp
=
e
:
GetHandlerPlay
er
()
if
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
()
,
id
)
==
0
then
if
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
then
Duel
.
RegisterFlagEffect
(
e
:
GetHandlerPlayer
(),
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
0
,
RESET_PHASE
+
PHASE_END
,
1
)
return
0
return
0
end
end
return
val
return
val
end
end
--
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
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