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
Soulgamer
ygopro-222DIY-cards
Commits
6339a591
Commit
6339a591
authored
Jun 22, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12
parent
367409a1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
14 deletions
+8
-14
expansions/script/c64800084.lua
expansions/script/c64800084.lua
+1
-1
expansions/script/c69696941.lua
expansions/script/c69696941.lua
+1
-2
expansions/script/c69696948.lua
expansions/script/c69696948.lua
+2
-3
expansions/script/c81034023.lua
expansions/script/c81034023.lua
+2
-6
expansions/script/c9330008.lua
expansions/script/c9330008.lua
+1
-1
expansions/script/c9390004.lua
expansions/script/c9390004.lua
+1
-1
No files found.
expansions/script/c64800084.lua
View file @
6339a591
...
...
@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e22
:
SetType
(
EFFECT_TYPE_SINGLE
)
e22
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e22
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
2
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
...
...
expansions/script/c69696941.lua
View file @
6339a591
...
...
@@ -59,9 +59,8 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tid
=
Duel
.
GetTurnCount
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
tid
)
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
then
local
g
=
Group
.
FromCards
(
c
,
tc
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
expansions/script/c69696948.lua
View file @
6339a591
...
...
@@ -19,7 +19,6 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
...
...
@@ -32,10 +31,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tg
:
GetCount
()
>
0
then
if
Duel
.
Destroy
(
tg
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetLocationCount
(
p
,
LOCATION_MZONE
,
tp
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
69696949
,
0
,
TYPES_TOKEN_MONSTER
,
500
,
500
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
69696949
,
0
,
TYPES_TOKEN_MONSTER
,
500
,
500
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
,
POS_FACEUP
)
then
Duel
.
BreakEffect
()
local
token
=
Duel
.
CreateToken
(
tp
,
69696949
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
p
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
t
p
,
false
,
false
,
POS_FACEUP
)
end
end
end
...
...
expansions/script/c81034023.lua
View file @
6339a591
...
...
@@ -18,8 +18,8 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetCondition
(
cm
.
atkcon
)
e2
:
SetCost
(
cm
.
atkcost
)
e2
:
SetOperation
(
cm
.
atkop
)
c
:
RegisterEffect
(
e2
)
end
...
...
@@ -44,11 +44,7 @@ function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
then
return
false
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
Duel
.
GetAttacker
()
end
e
:
SetLabelObject
(
tc
)
return
tc
and
tc
:
IsRelateToBattle
()
and
tc
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
and
tc
:
IsType
(
TYPE_SYNCHRO
)
end
function
cm
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
return
tc
and
tc
:
IsRelateToBattle
()
and
tc
:
IsAttack
(
1550
)
and
tc
:
IsDefense
(
1050
)
and
tc
:
IsType
(
TYPE_SYNCHRO
)
end
function
cm
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
...
...
expansions/script/c9330008.lua
View file @
6339a591
...
...
@@ -17,7 +17,7 @@ function c9330008.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
LOCATION_SZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xaf93
))
e2
:
SetCountLimit
(
1
,
933
1
008
)
e2
:
SetCountLimit
(
1
,
933
0
008
)
c
:
RegisterEffect
(
e2
)
--inactivatable
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c9390004.lua
View file @
6339a591
...
...
@@ -46,7 +46,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0
,
TYPES_EFFECT_TRAP_MONSTER
+
TYPE_TUNER
,
800
,
2000
,
6
,
RACE_PLANT
,
ATTRIBUTE_WIND
)
then
return
end
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_TRAP
)
c
:
AddMonsterAttribute
(
TYPE_EFFECT
+
TYPE_T
UNER
+
TYPE_T
RAP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_VALUE_SELF
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
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