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
fd036f46
Commit
fd036f46
authored
May 23, 2023
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c82430.lua 176行跳红
parent
26147527
Pipeline
#21800
passed with stage
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
script/c82430.lua
script/c82430.lua
+5
-3
No files found.
script/c82430.lua
View file @
fd036f46
...
@@ -82,6 +82,7 @@ function c82430.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,6 +82,7 @@ function c82430.operation(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e3
:
SetCode
(
EVENT_CHAIN_SOLVED
)
e3
:
SetCondition
(
c82430
.
drcon2
)
e3
:
SetCondition
(
c82430
.
drcon2
)
e3
:
SetOperation
(
c82430
.
drop2
)
e3
:
SetOperation
(
c82430
.
drop2
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e3
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e3
,
tp
)
Duel
.
RegisterEffect
(
e3
,
tp
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
...
@@ -135,6 +136,8 @@ function c82430.regcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -135,6 +136,8 @@ function c82430.regcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c82430
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82430
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
tp
,
82430
,
RESET_CHAIN
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
82430
,
RESET_CHAIN
,
0
,
1
)
local
seq
=
eg
:
GetFirst
():
GetSequence
()
e
:
SetLabel
(
seq
)
end
end
function
c82430
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82430
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
82430
)
>
0
return
Duel
.
GetFlagEffect
(
tp
,
82430
)
>
0
...
@@ -143,6 +146,7 @@ function c82430.drop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -143,6 +146,7 @@ function c82430.drop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
n
=
Duel
.
GetFlagEffect
(
tp
,
82430
)
local
n
=
Duel
.
GetFlagEffect
(
tp
,
82430
)
Duel
.
ResetFlagEffect
(
tp
,
82430
)
Duel
.
ResetFlagEffect
(
tp
,
82430
)
local
seq
=
e
:
GetLabelObject
():
GetLabel
()
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_DISABLE
)
e4
:
SetCode
(
EFFECT_DISABLE
)
...
@@ -173,9 +177,7 @@ function c82430.distg(e,c)
...
@@ -173,9 +177,7 @@ function c82430.distg(e,c)
return
aux
.
GetColumn
(
c
,
tp
)
==
seq
return
aux
.
GetColumn
(
c
,
tp
)
==
seq
end
end
function
c82430
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82430
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
eg
:
Filter
(
c82430
.
filter
,
nil
,
tp
)
local
tseq
=
e
:
GetLabel
()
if
lg
:
GetCount
()
==
0
then
return
end
local
tseq
=
lg
:
GetFirst
():
GetSequence
()
local
loc
,
seq
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
)
local
loc
,
seq
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
)
if
loc
&
LOCATION_SZONE
~=
0
and
seq
<=
4
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
if
loc
&
LOCATION_SZONE
~=
0
and
seq
<=
4
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
+
TYPE_MONSTER
)
and
((
rp
==
tp
and
seq
==
tseq
)
or
(
rp
==
1
-
tp
and
seq
==
4
-
tseq
))
then
and
((
rp
==
tp
and
seq
==
tseq
)
or
(
rp
==
1
-
tp
and
seq
==
4
-
tseq
))
then
...
...
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