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
86669253
Commit
86669253
authored
Jan 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0e58b0f3
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
9 deletions
+8
-9
script/c100273006.lua
script/c100273006.lua
+1
-1
script/c100273010.lua
script/c100273010.lua
+1
-1
script/c100273012.lua
script/c100273012.lua
+0
-1
script/c100273016.lua
script/c100273016.lua
+2
-5
script/c100273017.lua
script/c100273017.lua
+1
-1
script/c100273018.lua
script/c100273018.lua
+1
-0
script/c100273019.lua
script/c100273019.lua
+1
-0
script/c100273020.lua
script/c100273020.lua
+1
-0
No files found.
script/c100273006.lua
View file @
86669253
...
...
@@ -14,7 +14,7 @@ function c100273006.initial_effect(c)
--add/ss rock monster
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
100273006
,
1
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_BATTLE_DESTROYED
)
...
...
script/c100273010.lua
View file @
86669253
...
...
@@ -15,7 +15,7 @@ function c100273010.initial_effect(c)
--To GY
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
100273010
,
1
))
e2
:
SetCategory
(
CATEGORY_
DRAW
+
CATEGORY_TODECK
)
e2
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
script/c100273012.lua
View file @
86669253
...
...
@@ -5,7 +5,6 @@ function c100273012.initial_effect(c)
--Special Summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_HANDES
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c100273012
.
condition
)
...
...
script/c100273016.lua
View file @
86669253
...
...
@@ -29,9 +29,6 @@ function c100273016.initial_effect(c)
c
:
RegisterEffect
(
e2
)
if
not
c100273016
.
global_check
then
c100273016
.
global_check
=
true
c100273016
[
0
]
=
nil
c100273016
[
1
]
=
nil
c100273016
[
2
]
=
nil
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_DETACH_MATERIAL
)
...
...
@@ -86,7 +83,7 @@ function c100273016.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
tc
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c100273016
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
IsAttack
(
0
)
or
c
:
IsDefense
(
0
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
IsAttack
(
0
)
or
c
:
IsDefense
(
0
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
end
function
c100273016
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -98,7 +95,7 @@ function c100273016.spop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
if
Duel
.
GetMZoneCount
(
tp
)
<
2
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
max
=
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100273016
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
max
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100273016
.
filter
)
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
max
,
nil
,
e
,
tp
)
for
tc
in
aux
.
Next
(
g
)
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
local
e1
=
Effect
.
CreateEffect
(
tc
)
...
...
script/c100273017.lua
View file @
86669253
...
...
@@ -50,7 +50,7 @@ function c100273017.atkfilter(c)
return
c
:
IsCode
(
75574498
)
and
c
:
IsFaceup
()
end
function
c100273017
.
atkcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c100273017
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_
MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c100273017
.
atkfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
function
c100273017
.
atkval
(
e
,
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsAttack
(
0
)
or
c
:
IsDefense
(
0
))
...
...
script/c100273018.lua
View file @
86669253
...
...
@@ -19,6 +19,7 @@ function c100273018.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOEXTRA
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
100273018
)
e2
:
SetCost
(
c100273018
.
tdcost
)
e2
:
SetTarget
(
c100273018
.
tdtg
)
...
...
script/c100273019.lua
View file @
86669253
...
...
@@ -29,6 +29,7 @@ function c100273019.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
100273019
,
1
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c100273019
.
mtcon
)
e3
:
SetTarget
(
c100273019
.
mttg
)
...
...
script/c100273020.lua
View file @
86669253
...
...
@@ -13,6 +13,7 @@ function c100273020.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
100273020
)
e2
:
SetCost
(
c100273020
.
cost
)
e2
:
SetTarget
(
c100273020
.
target
)
...
...
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