Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
d2173fa6
Commit
d2173fa6
authored
Feb 01, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379114.lua 优化效果封锁
parent
f33ea75b
Pipeline
#19881
passed with stage
in 43 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
5 deletions
+31
-5
script/c86379114.lua
script/c86379114.lua
+31
-5
No files found.
script/c86379114.lua
View file @
d2173fa6
...
...
@@ -18,6 +18,12 @@ function c86379114.initial_effect(c)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
local
e2_2
=
Effect
.
CreateEffect
(
c
)
e2_2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2_2
:
SetRange
(
LOCATION_SZONE
)
e2_2
:
SetCode
(
EVENT_CHAIN_END
)
e2_2
:
SetOperation
(
c86379114
.
sumsuc2
)
c
:
RegisterEffect
(
e2_2
)
--inactivatable
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -65,10 +71,30 @@ function c86379114.sumcon(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c86379114
.
sumfilter
,
1
,
nil
)
end
function
c86379114
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetChainLimitTillChainEnd
(
c86379114
.
efun
)
if
Duel
.
GetCurrentChain
()
==
0
then
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
elseif
Duel
.
GetCurrentChain
()
==
1
then
e
:
GetHandler
():
RegisterFlagEffect
(
86379115
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetOperation
(
c86379114
.
resetop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_BREAK_EFFECT
)
e2
:
SetReset
(
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c86379114
.
resetop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
ResetFlagEffect
(
86379115
)
e
:
Reset
()
end
function
c86379114
.
efun
(
e
,
ep
,
tp
)
return
ep
==
tp
function
c86379114
.
sumsuc2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
GetFlagEffect
(
86379115
)
~=
0
then
Duel
.
SetChainLimitTillChainEnd
(
aux
.
FALSE
)
end
e
:
GetHandler
():
ResetFlagEffect
(
86379115
)
end
--
function
c86379114
.
effectfilter
(
e
,
ct
)
...
...
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