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
f386e000
Commit
f386e000
authored
Oct 17, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a05b2870
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
script/c100423004.lua
script/c100423004.lua
+0
-1
script/c100423026.lua
script/c100423026.lua
+2
-2
script/c100423047.lua
script/c100423047.lua
+1
-0
script/c101011023.lua
script/c101011023.lua
+1
-1
script/c101011047.lua
script/c101011047.lua
+1
-0
No files found.
script/c100423004.lua
View file @
f386e000
...
...
@@ -8,7 +8,6 @@ function c100423004.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
100423004
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c100423004
.
target
)
e1
:
SetOperation
(
c100423004
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100423026.lua
View file @
f386e000
...
...
@@ -60,6 +60,6 @@ end
function
c100423026
.
ccop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetChainLimit
(
c100423026
.
chainlm
)
end
function
c100423026
.
chainlm
(
e
,
r
p
,
tp
)
return
tp
==
r
p
function
c100423026
.
chainlm
(
e
,
e
p
,
tp
)
return
tp
==
e
p
end
script/c100423047.lua
View file @
f386e000
...
...
@@ -55,6 +55,7 @@ function c100423047.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsExistingMatchingCard
(
c100423047
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
lsc
,
rsc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100423047
,
0
))
then
Duel
.
BreakEffect
()
local
count
=
math.min
(
ct
,
mz
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
count
=
1
end
local
g
=
Duel
.
GetMatchingGroup
(
c100423047
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
,
lsc
,
rsc
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
c100423047
.
fselect
,
false
,
1
,
count
,
tp
)
flag
=
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c101011023.lua
View file @
f386e000
...
...
@@ -55,7 +55,7 @@ function c101011023.setfilter(c,e,tp)
return
c
:
IsSetCard
(
0x8d
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
or
c
:
IsSSetable
())
end
function
c101011023
.
posfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCan
ChangePosition
()
return
c
:
IsFaceup
()
and
c
:
IsCan
TurnSet
()
end
function
c101011023
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
...
...
script/c101011047.lua
View file @
f386e000
...
...
@@ -44,6 +44,7 @@ function c101011047.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c101011047
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
b1
=
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
and
lg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_RITUAL
)
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c101011047
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
lg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
)
...
...
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