Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
a667511a
Commit
a667511a
authored
Oct 27, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6f7104c9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
script/c100426037.lua
script/c100426037.lua
+1
-1
script/c101107040.lua
script/c101107040.lua
+1
-1
script/c101107042.lua
script/c101107042.lua
+1
-0
script/c101107078.lua
script/c101107078.lua
+2
-2
script/c101107080.lua
script/c101107080.lua
+1
-1
No files found.
script/c100426037.lua
View file @
a667511a
...
...
@@ -56,7 +56,7 @@ function c100426037.atop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetValue
(
tc
:
GetLink
())
e1
:
SetValue
(
tc
:
GetLink
()
-
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101107040.lua
View file @
a667511a
...
...
@@ -48,7 +48,7 @@ end
function
c101107040
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
if
not
sg
then
return
true
end
return
not
sg
:
IsExists
(
Card
.
IsFusionCode
,
1
,
c
,
c
:
GetFusionCode
())
and
(
#
sg
<
2
or
sg
:
IsExists
(
aux
.
NOT
(
Card
.
IsLocation
),
1
,
c
,
c
:
GetLocation
()))
and
(
not
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
)
or
#
sg
<
2
or
sg
:
IsExists
(
aux
.
NOT
(
Card
.
IsLocation
),
1
,
c
,
c
:
GetLocation
()))
end
function
c101107040
.
matlimit
(
e
,
c
,
fc
,
st
)
if
st
~=
SUMMON_TYPE_FUSION
then
return
true
end
...
...
script/c101107042.lua
View file @
a667511a
...
...
@@ -10,6 +10,7 @@ function c101107042.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
101107042
,
0
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
101107042
)
e1
:
SetTarget
(
c101107042
.
atttg
)
e1
:
SetOperation
(
c101107042
.
attop
)
...
...
script/c101107078.lua
View file @
a667511a
...
...
@@ -55,9 +55,9 @@ function c101107078.operation(e,tp,eg,ep,ev,re,r,rp)
end
sg
:
RemoveCard
(
tc
)
Duel
.
SendtoDeck
(
sg
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SortDecktop
(
p
,
p
,
2
)
Duel
.
SortDecktop
(
tp
,
t
p
,
2
)
for
i
=
1
,
2
do
local
mg
=
Duel
.
GetDecktopGroup
(
p
,
1
)
local
mg
=
Duel
.
GetDecktopGroup
(
t
p
,
1
)
Duel
.
MoveSequence
(
mg
:
GetFirst
(),
1
)
end
end
...
...
script/c101107080.lua
View file @
a667511a
...
...
@@ -22,7 +22,7 @@ function c101107080.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetTargetParam
(
2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
2
)
end
function
c101107080
.
effop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101107080
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
>
0
and
Duel
.
GetLP
(
p
)
<
10
then
Duel
.
Draw
(
p
,
2
,
REASON_EFFECT
)
...
...
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