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
fd159a49
Commit
fd159a49
authored
Apr 13, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
138ce587
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
11 deletions
+14
-11
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101009011.lua
script/c101009011.lua
+2
-1
script/c101009022.lua
script/c101009022.lua
+1
-1
script/c101009037.lua
script/c101009037.lua
+3
-2
script/c101009048.lua
script/c101009048.lua
+6
-6
script/c101009064.lua
script/c101009064.lua
+1
-0
script/c101009073.lua
script/c101009073.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
fd159a49
No preview for this file type
script/c101009011.lua
View file @
fd159a49
...
...
@@ -145,7 +145,8 @@ function c101009011.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101009011
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
tp
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetReasonPlayer
()
==
tp
end
function
c101009011
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101009011
.
cfilter
,
1
,
e
:
GetHandler
(),
tp
)
...
...
script/c101009022.lua
View file @
fd159a49
...
...
@@ -39,7 +39,7 @@ function c101009022.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c101009022
.
cfilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
+
ATTRIBUTE_WIND
)
return
c
:
GetSummonPlayer
()
==
tp
and
c
:
Is
SummonType
(
SUMMON_TYPE_ADVANCE
)
and
c
:
Is
Attribute
(
ATTRIBUTE_DARK
+
ATTRIBUTE_WIND
)
end
function
c101009022
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101009022
.
cfilter
,
1
,
nil
,
tp
)
...
...
script/c101009037.lua
View file @
fd159a49
...
...
@@ -32,8 +32,9 @@ function c101009037.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101009037
.
lvfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c101009037
.
lvfilter1
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
local
mg
,
lv
=
g
:
GetMinGroup
(
Card
.
GetLevel
)
local
alv
=
1
if
lv
>
2
then
alv
=
Duel
.
AnnounceLevel
(
tp
,
1
,
lv
-
1
)
end
local
alv
=
0
if
lv
>
2
then
alv
=
Duel
.
AnnounceLevel
(
tp
,
1
,
math.min
(
lv
-
1
,
6
))
else
alv
=
Duel
.
AnnounceLevel
(
tp
,
1
,
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009037
,
1
))
local
g1
=
Duel
.
SelectTarget
(
tp
,
c101009037
.
lvfilter3
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
,
alv
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101009037
,
2
))
...
...
script/c101009048.lua
View file @
fd159a49
...
...
@@ -26,7 +26,7 @@ function c101009048.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c101009048
.
lcheck
(
g
,
lc
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
g
:
GetCount
()
return
g
:
GetClassCount
(
Card
.
Get
Link
Code
)
==
g
:
GetCount
()
end
function
c101009048
.
valop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -40,14 +40,12 @@ function c101009048.valop(e,tp,eg,ep,ev,re,r,rp)
end
function
c101009048
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_
CHAINING
+
STATUS_
BATTLE_DESTROYED
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c101009048
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAttackAbove
(
800
)
and
c
:
GetFlagEffect
(
101009048
)
==
0
end
if
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
c
:
RegisterFlagEffect
(
101009048
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
c
:
RegisterFlagEffect
(
101009048
,
RESET_CHAIN
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c101009048
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -63,5 +61,7 @@ function c101009048.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetValue
(
-
800
)
c
:
RegisterEffect
(
e1
)
Duel
.
NegateActivation
(
ev
)
if
not
c
:
IsHasEffect
(
EFFECT_REVERSE_UPDATE
)
then
Duel
.
NegateActivation
(
ev
)
end
end
script/c101009064.lua
View file @
fd159a49
...
...
@@ -37,6 +37,7 @@ function c101009064.filter(c,lp)
return
c
:
IsFaceup
()
and
c
:
IsAttackBelow
(
lp
)
and
c
:
GetFlagEffect
(
101009064
)
==
0
end
function
c101009064
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
lp
=
Duel
.
GetLP
(
tp
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c101009064
.
filter
(
chkc
,
lp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101009064
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
lp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
script/c101009073.lua
View file @
fd159a49
...
...
@@ -79,7 +79,7 @@ function c101009073.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
local
val
=
Duel
.
Damage
(
tp
,
ct
,
REASON_EFFECT
)
local
val
=
Duel
.
Damage
(
tp
,
ct
*
500
,
REASON_EFFECT
)
if
val
>
0
and
Duel
.
GetLP
(
tp
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
val
,
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