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
Mr.Tan
pre-release-database-cdb
Commits
29e35361
Commit
29e35361
authored
Sep 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ジュラック・ヴォルケーノ
parent
1e25b352
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
script/c100227030.lua
script/c100227030.lua
+20
-3
No files found.
script/c100227030.lua
View file @
29e35361
...
...
@@ -44,15 +44,32 @@ function s.initial_effect(c)
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetOperation
(
s
.
checkop
)
ge1
:
SetOperation
(
s
.
checkop
1
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
ge2
:
SetOperation
(
s
.
checkop2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
and
re
:
GetHandlerPlayer
()
then
function
s
.
checkop
1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
and
re
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
then
Duel
.
RegisterFlagEffect
(
re
:
GetHandlerPlayer
(),
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
s
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
re
and
re
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
then
local
ct
=
Duel
.
GetFlagEffect
(
re
:
GetHandlerPlayer
(),
id
)
Duel
.
ResetFlagEffect
(
re
:
GetHandlerPlayer
(),
id
)
if
ct
>
1
then
local
ra
=
0
while
ra
<
ct
do
Duel
.
RegisterFlagEffect
(
re
:
GetHandlerPlayer
(),
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
ra
=
ra
+
1
end
end
end
end
function
s
.
dfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DINOSAUR
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
...
...
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