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
八宫一月
pre-release-database-cdb
Commits
41260c66
Commit
41260c66
authored
Apr 11, 2024
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101204088.lua
parent
533e5d7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
script/c101204088.lua
script/c101204088.lua
+15
-15
No files found.
script/c101204088.lua
View file @
41260c66
...
...
@@ -49,7 +49,7 @@ function s.ctop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e
1
:
SetValue
(
s
.
fuslimit
)
e
2
:
SetValue
(
s
.
fuslimit
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
...
...
@@ -71,7 +71,7 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
e
:
SetLabelObject
(
bc
)
return
bc
and
bc
:
GetCounter
(
0x106b
)
>
0
and
bc
:
IsRelateToBattle
()
return
bc
and
bc
:
IsControler
(
1
-
tp
)
and
bc
:
GetCounter
(
0x106b
)
>
0
and
bc
:
IsRelateToBattle
()
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
bc
=
e
:
GetLabelObject
()
...
...
@@ -84,10 +84,11 @@ end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bc
=
e
:
GetHandler
():
GetBattleTarget
()
if
bc
:
IsRelateToBattle
()
and
Duel
.
Destroy
(
bc
,
REASON_EFFECT
)
then
if
bc
:
IsRelateToBattle
()
and
bc
:
IsType
(
TYPE_MONSTER
)
and
bc
:
IsControler
(
1
-
tp
)
and
Duel
.
Destroy
(
bc
,
REASON_EFFECT
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
bc
:
GetTextAttack
(),
REASON_EFFECT
,
true
)
Duel
.
Damage
(
tp
,
bc
:
GetTextAttack
(),
REASON_EFFECT
,
true
)
Duel
.
RDComplete
()
end
local
fid
=
e
:
GetHandler
():
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
0x47c0000
+
RESET_PHASE
+
PHASE_BATTLE
,
0
,
1
,
fid
)
local
de
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -100,7 +101,6 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
de
:
SetLabelObject
(
c
)
de
:
SetOperation
(
s
.
desop2
)
Duel
.
RegisterEffect
(
de
,
tp
)
end
end
function
s
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
...
...
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