Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
31147a4c
Commit
31147a4c
authored
Aug 01, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add card BODE-JP032
parent
2ed60214
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
64 additions
and
0 deletions
+64
-0
c18096222.lua
c18096222.lua
+1
-0
c25669282.lua
c25669282.lua
+1
-0
c26120084.lua
c26120084.lua
+1
-0
c27979109.lua
c27979109.lua
+1
-0
c33846209.lua
c33846209.lua
+1
-0
c57441100.lua
c57441100.lua
+1
-0
c65959844.lua
c65959844.lua
+1
-0
c67045174.lua
c67045174.lua
+1
-0
c72305034.lua
c72305034.lua
+48
-0
c73567374.lua
c73567374.lua
+1
-0
c80758812.lua
c80758812.lua
+1
-0
c81601517.lua
c81601517.lua
+1
-0
c90965652.lua
c90965652.lua
+1
-0
c95750695.lua
c95750695.lua
+1
-0
utility.lua
utility.lua
+3
-0
No files found.
c18096222.lua
View file @
31147a4c
...
...
@@ -23,6 +23,7 @@ function c18096222.initial_effect(c)
e2
:
SetOperation
(
c18096222
.
daop
)
c
:
RegisterEffect
(
e2
)
end
c18096222
.
has_text_type
=
TYPE_DUAL
function
c18096222
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
...
...
c25669282.lua
View file @
31147a4c
...
...
@@ -23,6 +23,7 @@ function c25669282.initial_effect(c)
e2
:
SetOperation
(
c25669282
.
spop
)
c
:
RegisterEffect
(
e2
)
end
c25669282
.
has_text_type
=
TYPE_DUAL
function
c25669282
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xeb
)
and
c
:
IsAbleToRemoveAsCost
()
end
...
...
c26120084.lua
View file @
31147a4c
...
...
@@ -9,6 +9,7 @@ function c26120084.initial_effect(c)
e1
:
SetOperation
(
c26120084
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c26120084
.
has_text_type
=
TYPE_DUAL
function
c26120084
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
end
...
...
c27979109.lua
View file @
31147a4c
...
...
@@ -31,6 +31,7 @@ function c27979109.initial_effect(c)
e3
:
SetOperation
(
c27979109
.
drop
)
c
:
RegisterEffect
(
e3
)
end
c27979109
.
has_text_type
=
TYPE_DUAL
function
c27979109
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
Duel
.
GetTurnPlayer
()
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
and
Duel
.
GetDrawCount
(
tp
)
>
0
end
...
...
c33846209.lua
View file @
31147a4c
...
...
@@ -12,6 +12,7 @@ function c33846209.initial_effect(c)
e1
:
SetOperation
(
c33846209
.
activate
)
c
:
RegisterEffect
(
e1
)
end
c33846209
.
has_text_type
=
TYPE_DUAL
function
c33846209
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
return
true
...
...
c57441100.lua
View file @
31147a4c
...
...
@@ -17,6 +17,7 @@ function c57441100.initial_effect(c)
e1
:
SetOperation
(
c57441100
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c57441100
.
has_text_type
=
TYPE_DUAL
function
c57441100
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
~=
0
...
...
c65959844.lua
View file @
31147a4c
...
...
@@ -37,6 +37,7 @@ function c65959844.initial_effect(c)
e4
:
SetOperation
(
c65959844
.
desop
)
c
:
RegisterEffect
(
e4
)
end
c65959844
.
has_text_type
=
TYPE_DUAL
function
c65959844
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
...
...
c67045174.lua
View file @
31147a4c
...
...
@@ -18,6 +18,7 @@ function c67045174.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
c67045174
.
has_text_type
=
TYPE_DUAL
function
c67045174
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
t
=
Duel
.
GetAttackTarget
()
...
...
c72305034.lua
0 → 100644
View file @
31147a4c
--重起士道-ゴルドナイト
function
c72305034
.
initial_effect
(
c
)
aux
.
EnableDualAttribute
(
c
)
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
72305034
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
72305034
)
e1
:
SetCondition
(
aux
.
IsDualState
)
e1
:
SetTarget
(
c72305034
.
thtg
)
e1
:
SetOperation
(
c72305034
.
thop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
--change race
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetCode
(
EFFECT_CHANGE_RACE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
aux
.
IsDualState
)
e3
:
SetValue
(
RACE_MACHINE
)
c
:
RegisterEffect
(
e3
)
--atkup
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e4
:
SetValue
(
500
)
c
:
RegisterEffect
(
e4
)
end
function
c72305034
.
thfilter
(
c
)
return
aux
.
IsTypeInText
(
c
,
TYPE_DUAL
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
c72305034
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c72305034
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c72305034
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c72305034
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c73567374.lua
View file @
31147a4c
...
...
@@ -9,6 +9,7 @@ function c73567374.initial_effect(c)
e1
:
SetOperation
(
c73567374
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c73567374
.
has_text_type
=
TYPE_DUAL
function
c73567374
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_DUAL
)
and
not
c
:
IsDualState
()
end
...
...
c80758812.lua
View file @
31147a4c
...
...
@@ -25,6 +25,7 @@ function c80758812.initial_effect(c)
e3
:
SetOperation
(
c80758812
.
spop2
)
c
:
RegisterEffect
(
e3
)
end
c80758812
.
has_text_type
=
TYPE_DUAL
function
c80758812
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
...
...
c81601517.lua
View file @
31147a4c
...
...
@@ -11,6 +11,7 @@ function c81601517.initial_effect(c)
e1
:
SetOperation
(
c81601517
.
activate
)
c
:
RegisterEffect
(
e1
)
end
c81601517
.
has_text_type
=
TYPE_DUAL
function
c81601517
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
...
...
c90965652.lua
View file @
31147a4c
...
...
@@ -23,6 +23,7 @@ function c90965652.initial_effect(c)
e2
:
SetOperation
(
c90965652
.
atkop
)
c
:
RegisterEffect
(
e2
)
end
c90965652
.
has_text_type
=
TYPE_DUAL
function
c90965652
.
thfilter1
(
c
)
return
c
:
IsCode
(
65959844
)
and
c
:
IsAbleToHand
()
end
...
...
c95750695.lua
View file @
31147a4c
...
...
@@ -33,6 +33,7 @@ function c95750695.initial_effect(c)
e4
:
SetOperation
(
c95750695
.
spop
)
c
:
RegisterEffect
(
e4
)
end
c95750695
.
has_text_type
=
TYPE_DUAL
function
c95750695
.
eqlimit
(
e
,
c
)
return
c
:
IsType
(
TYPE_DUAL
)
end
...
...
utility.lua
View file @
31147a4c
...
...
@@ -2112,6 +2112,9 @@ function Auxiliary.IsCounterAdded(c,counter)
end
return
false
end
function
Auxiliary
.
IsTypeInText
(
c
,
type
)
return
c
.
has_text_type
and
type
&
c
.
has_text_type
==
type
end
function
Auxiliary
.
IsInGroup
(
c
,
g
)
return
g
:
IsContains
(
c
)
end
...
...
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