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
de870136
Commit
de870136
authored
Apr 23, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
141422d4
Pipeline
#12016
passed with stages
in 26 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
24 additions
and
18 deletions
+24
-18
field/101109060.jpg
field/101109060.jpg
+0
-0
script/c100290044.lua
script/c100290044.lua
+2
-2
script/c100290045.lua
script/c100290045.lua
+2
-2
script/c100427005.lua
script/c100427005.lua
+7
-5
script/c101109012.lua
script/c101109012.lua
+2
-1
script/c101109013.lua
script/c101109013.lua
+2
-1
script/c101109014.lua
script/c101109014.lua
+2
-1
script/c101109053.lua
script/c101109053.lua
+4
-2
script/c101109060.lua
script/c101109060.lua
+3
-3
script/c101109073.lua
script/c101109073.lua
+0
-1
No files found.
field/101109060.jpg
View replaced file @
141422d4
View file @
de870136
60.6 KB
|
W:
|
H:
104 KB
|
W:
|
H:
2-up
Swipe
Onion skin
script/c100290044.lua
View file @
de870136
...
...
@@ -99,12 +99,12 @@ function c100290044.disop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetValue
(
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
...
...
script/c100290045.lua
View file @
de870136
...
...
@@ -69,13 +69,13 @@ function c100290045.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
t
c
:
RegisterEffect
(
e2
)
b
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetValue
(
RESET_TURN_SET
)
t
c
:
RegisterEffect
(
e3
)
b
c
:
RegisterEffect
(
e3
)
end
end
function
c100290045
.
acfilter
(
c
,
tp
)
...
...
script/c100427005.lua
View file @
de870136
...
...
@@ -45,10 +45,10 @@ function c100427005.eqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
ft
<=
0
or
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c100427005
.
eqfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
math.min
(
ft
,
3
))
local
tc
=
sg
:
GetFirst
()
while
tc
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Equip
(
tp
,
tc
,
c
,
true
,
true
)
tc
=
sg
:
GetNext
()
end
...
...
@@ -82,15 +82,17 @@ function c100427005.pnop(e,tp,eg,ep,ev,re,r,rp)
if
not
(
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
))
then
return
end
local
b1
=
tc
:
IsCanChangePosition
()
local
b2
=
aux
.
NegateMonsterFilter
(
tc
)
local
op
=
0
local
op
=
-
1
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100427005
,
2
),
aux
.
Stringid
(
100427005
,
3
))
elseif
b1
then
op
=
0
elseif
b2
then
op
=
1
end
if
b1
then
op
=
0
end
if
b2
then
op
=
1
end
if
op
==
0
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
POS_FACEUP_DEFENSE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
else
else
if
op
==
1
then
if
not
tc
:
IsDisabled
()
and
not
tc
:
IsImmuneToEffect
(
e
)
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c101109012.lua
View file @
de870136
...
...
@@ -46,7 +46,8 @@ function c101109012.filter1(c,e,tp,m,f,chkf)
return
res
end
function
c101109012
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
~=
PHASE_DAMAGE
and
ph
~=
PHASE_DAMAGE_CAL
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c101109012
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c101109013.lua
View file @
de870136
...
...
@@ -52,7 +52,8 @@ function c101109013.filter1(c,e,tp,m,f,chkf)
return
res
end
function
c101109013
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
~=
PHASE_DAMAGE
and
ph
~=
PHASE_DAMAGE_CAL
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c101109013
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c101109014.lua
View file @
de870136
...
...
@@ -59,7 +59,8 @@ function c101109014.filter1(c,e,tp,m,f,chkf)
return
res
end
function
c101109014
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
~=
PHASE_DAMAGE
and
ph
~=
PHASE_DAMAGE_CAL
and
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c101109014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c101109053.lua
View file @
de870136
--
EN
ウェーブ
--
EN
ウェーブ
--Script by JSY1728
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
...
...
@@ -37,7 +37,9 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
dspconfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x3008
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
(
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousSetCard
(
0x3008
)
or
not
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsSetCard
(
0x3008
))
end
function
s
.
dspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
r
==
REASON_FUSION
and
eg
:
IsExists
(
s
.
dspconfilter
,
1
,
nil
,
tp
)
...
...
script/c101109060.lua
View file @
de870136
...
...
@@ -25,7 +25,7 @@ function c101109060.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_
S
ZONE
)
e3
:
SetRange
(
LOCATION_
F
ZONE
)
e3
:
SetCountLimit
(
1
,
101109060
+
100
)
e3
:
SetCode
(
EVENT_TO_DECK
)
e3
:
SetCondition
(
c101109060
.
descon
)
...
...
@@ -49,9 +49,9 @@ function c101109060.atktg(e,c)
return
c
:
IsType
(
TYPE_FUSION
)
or
c
:
IsSetCard
(
0x284
)
end
function
c101109060
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsSetCard
(
0x284
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsPreviousSetCard
(
0x284
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsSetCard
(
0x284
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
or
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)))
or
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousSetCard
(
0x284
)
))
end
function
c101109060
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101109060
.
cfilter
,
1
,
nil
,
tp
)
...
...
script/c101109073.lua
View file @
de870136
...
...
@@ -29,7 +29,6 @@ function c101109073.actcfilter(c)
end
function
c101109073
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
GetHandler
():
IsAbleToDeck
()
and
Duel
.
IsExistingMatchingCard
(
c101109073
.
actcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c101109073
.
cfilter
(
c
)
...
...
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