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
e04ad4c2
Commit
e04ad4c2
authored
Oct 26, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
45434c7f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
script/c100235001.lua
script/c100235001.lua
+3
-2
script/c100235011.lua
script/c100235011.lua
+2
-1
script/c100235026.lua
script/c100235026.lua
+2
-2
script/c100411014.lua
script/c100411014.lua
+2
-2
script/c100411015.lua
script/c100411015.lua
+3
-3
No files found.
script/c100235001.lua
View file @
e04ad4c2
...
...
@@ -98,7 +98,8 @@ function c100235001.effop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetCondition
(
c100235001
.
eacon
)
e1
:
SetLabel
(
Duel
.
GetTurnCount
()
+
tct
)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
+
tct
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
100235101
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
,
0
,
1
+
tct
)
...
...
@@ -112,7 +113,7 @@ function c100235001.effop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c100235001
.
eacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
=
=
e
:
GetLabel
()
return
Duel
.
GetTurnCount
()
~
=
e
:
GetLabel
()
end
function
c100235001
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
...
...
script/c100235011.lua
View file @
e04ad4c2
...
...
@@ -32,9 +32,10 @@ end
function
c100235011
.
efffilter
(
c
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
local
te
=
m
.
discard_effect
if
not
te
then
return
false
end
local
tg
=
te
:
GetTarget
()
return
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
and
c
:
IsSetCard
(
0x11c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
and
te
and
(
not
tg
or
tg
and
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
))
and
(
not
tg
or
tg
and
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
))
end
function
c100235011
.
efftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c100235011
.
efffilter
(
chkc
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
...
...
script/c100235026.lua
View file @
e04ad4c2
...
...
@@ -13,7 +13,7 @@ function c100235026.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
100235026
)
e1
:
Set
Targe
t
(
c100235026
.
ctcost
)
e1
:
Set
Cos
t
(
c100235026
.
ctcost
)
e1
:
SetTarget
(
c100235026
.
cttg
)
e1
:
SetOperation
(
c100235026
.
ctop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -73,7 +73,7 @@ end
function
c100235026
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
Necro
v
alleyFilter
(
c100235026
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
Necro
V
alleyFilter
(
c100235026
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c100235026
.
ctfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
g
:
GetCount
()
==
0
or
ct
==
0
then
return
end
repeat
...
...
script/c100411014.lua
View file @
e04ad4c2
...
...
@@ -18,9 +18,9 @@ function c100411014.costfilter(c)
return
c
:
IsSetCard
(
0x2093
)
and
c
:
GetType
()
&
0x81
==
0x81
and
c
:
IsReleasable
()
end
function
c100411014
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c100411014
.
costfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
Ex
(
tp
,
c100411014
.
costfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c100411014
.
costfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
Ex
(
tp
,
c100411014
.
costfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c100411014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100411015.lua
View file @
e04ad4c2
...
...
@@ -20,7 +20,7 @@ function c100411015.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCategory
(
CATEGORY_
DAMAGE
)
e3
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCode
(
EVENT_DAMAGE
)
e3
:
SetCountLimit
(
1
,
100411015
)
...
...
@@ -44,8 +44,8 @@ function c100411015.spfilter(c,e,tp)
return
c
:
GetType
()
&
0x81
==
0x81
and
c
:
IsSetCard
(
0x2093
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
true
,
false
)
end
function
c100411015
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c100411015
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c100411015
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
Ex
(
tp
,
c100411015
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
Ex
(
tp
,
c100411015
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c100411015
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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