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
yks
pre-release-database-cdb
Commits
b16a332b
Commit
b16a332b
authored
May 07, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 光と闇の竜王
parent
5ef411fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
script/c101205032.lua
script/c101205032.lua
+2
-1
script/c101205033.lua
script/c101205033.lua
+1
-1
script/c101205034.lua
script/c101205034.lua
+2
-2
No files found.
script/c101205032.lua
View file @
b16a332b
...
@@ -65,7 +65,8 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -65,7 +65,8 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
atk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
atk
)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
if
e
:
GetLabel
()
~=
100
then
return
false
end
return
g
:
CheckSubGroup
(
s
.
fselect
,
1
,
#
g
,
atk
)
end
return
g
:
CheckSubGroup
(
s
.
fselect
,
1
,
#
g
,
atk
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
1
,
#
g
,
atk
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
1
,
#
g
,
atk
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
...
...
script/c101205033.lua
View file @
b16a332b
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
...
@@ -12,7 +12,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e2
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c101205034.lua
View file @
b16a332b
...
@@ -60,7 +60,7 @@ end
...
@@ -60,7 +60,7 @@ end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
1000
or
c
:
GetDefense
()
<
1000
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
or
c
:
GetAttack
()
<
1000
or
c
:
GetDefense
()
<
1000
or
Duel
.
GetCurrentChain
()
~=
ev
+
1
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
or
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
return
end
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -73,7 +73,7 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +73,7 @@ function s.negop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
and
Duel
.
GetCurrentChain
()
==
ev
+
1
then
Duel
.
NegateActivation
(
ev
)
Duel
.
NegateActivation
(
ev
)
end
end
end
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