Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
d2bd6e37
Commit
d2bd6e37
authored
Jun 25, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nananananananana
parent
6c743c6b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
21 deletions
+15
-21
expansions/script/c1150037.lua
expansions/script/c1150037.lua
+1
-3
expansions/script/c12009033.lua
expansions/script/c12009033.lua
+12
-11
expansions/script/c710236.lua
expansions/script/c710236.lua
+0
-1
expansions/script/c710237.lua
expansions/script/c710237.lua
+1
-3
expansions/script/c710238.lua
expansions/script/c710238.lua
+0
-1
expansions/script/c710239.lua
expansions/script/c710239.lua
+0
-1
expansions/script/c81014040.lua
expansions/script/c81014040.lua
+1
-1
No files found.
expansions/script/c1150037.lua
View file @
d2bd6e37
...
...
@@ -75,9 +75,7 @@ function c1150037.op2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
1150037
,
0
,
0x11
,
0
,
0
,
3
,
RACE_AQUA
,
ATTRIBUTE_WATER
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
end
...
...
expansions/script/c12009033.lua
View file @
d2bd6e37
...
...
@@ -27,6 +27,7 @@ function c12009033.initial_effect(c)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
12009933
)
e2
:
SetCondition
(
c12009033
.
thcon
)
e2
:
SetTarget
(
c12009033
.
thtg
)
e2
:
SetOperation
(
c12009033
.
thop
)
...
...
@@ -72,7 +73,7 @@ function c12009033.spfilter(c,e,tp,ec)
return
c
:
IsAttribute
(
ec
:
GetAttribute
())
and
c
:
IsRace
(
ec
:
GetRace
())
and
c
:
IsLevel
(
ec
:
GetLevel
()
+
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c12009033
.
spfilter1
(
c
,
e
,
tp
,
race
,
level
,
att
)
return
c
:
IsAttribute
(
att
)
and
c
:
IsRace
(
race
)
and
c
:
IsLevel
(
level
+
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsAttribute
(
att
)
and
c
:
IsRace
(
race
)
and
c
:
IsLevel
(
level
+
1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c12009033
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -83,14 +84,14 @@ function c12009033.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
ec
,
1
,
tp
,
0
)
end
function
c12009033
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
race
=
ec
:
GetRace
()
local
level
=
ec
:
GetLevel
()
local
att
=
ec
:
GetAttribute
()
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
<=
0
or
not
c
:
IsLocation
(
LOCATION_HAND
)
or
not
ec
or
Duel
.
Release
(
ec
,
REASON_EFFECT
)
<=
0
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c12009033
.
spfilter1
,
tp
,
0x1
,
0
,
1
,
1
,
nil
,
e
,
tp
,
race
,
level
,
att
)
if
sg
:
GetCount
()
<=
0
then
return
end
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
c
=
e
:
GetHandler
()
local
ec
=
c
:
GetEquipTarget
()
local
race
=
ec
:
GetRace
()
local
level
=
ec
:
GetLevel
()
local
att
=
ec
:
GetAttribute
()
if
not
c
:
IsRelateToEffect
(
e
)
or
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
<=
0
or
not
c
:
IsLocation
(
LOCATION_HAND
)
or
not
ec
or
Duel
.
Release
(
ec
,
REASON_EFFECT
)
<=
0
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c12009033
.
spfilter1
,
tp
,
0x1
,
0
,
1
,
1
,
nil
,
e
,
tp
,
race
,
level
,
att
)
if
sg
:
GetCount
()
<=
0
then
return
end
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
expansions/script/c710236.lua
View file @
d2bd6e37
...
...
@@ -144,7 +144,6 @@ function c710236.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
710236
,
c710236
.
spfilter
,
0x1011
,
0
,
0
,
3
,
RACE_WARRIOR
,
ATTRIBUTE_DARK
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TUNER
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c710237.lua
View file @
d2bd6e37
...
...
@@ -144,9 +144,7 @@ function c710237.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
710237
,
c710237
.
spfilter1
,
0x11
,
500
,
0
,
2
,
RACE_WARRIOR
,
ATTRIBUTE_EARTH
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c710237
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c710238.lua
View file @
d2bd6e37
...
...
@@ -151,7 +151,6 @@ function c710238.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
710238
,
c710238
.
spfilter
,
0x11
,
0
,
2000
,
4
,
RACE_WARRIOR
,
ATTRIBUTE_LIGHT
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c710239.lua
View file @
d2bd6e37
...
...
@@ -150,7 +150,6 @@ function c710239.spop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
710239
,
c710239
.
spfilter
,
0x1011
,
0
,
2400
,
5
,
RACE_WARRIOR
,
ATTRIBUTE_WIND
)
then
c
:
AddMonsterAttribute
(
TYPE_NORMAL
+
TYPE_TUNER
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
c
:
AddMonsterAttributeComplete
()
--redirect
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c81014040.lua
View file @
d2bd6e37
...
...
@@ -124,6 +124,6 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
81000000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
,
true
)
end
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