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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
3e904b11
Commit
3e904b11
authored
Aug 08, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
64e35e77
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
25 deletions
+9
-25
expansions/script/c65030011.lua
expansions/script/c65030011.lua
+1
-3
expansions/script/c65030012.lua
expansions/script/c65030012.lua
+1
-3
expansions/script/c65030013.lua
expansions/script/c65030013.lua
+1
-3
expansions/script/c65030014.lua
expansions/script/c65030014.lua
+1
-3
expansions/script/c65030015.lua
expansions/script/c65030015.lua
+1
-3
expansions/script/c65030016.lua
expansions/script/c65030016.lua
+1
-3
expansions/script/c65030018.lua
expansions/script/c65030018.lua
+1
-3
expansions/script/c65030019.lua
expansions/script/c65030019.lua
+2
-4
No files found.
expansions/script/c65030011.lua
View file @
3e904b11
...
...
@@ -39,7 +39,7 @@ function c65030011.initial_effect(c)
end
function
c65030011
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030011
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -49,8 +49,6 @@ function c65030011.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
1000
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030012.lua
View file @
3e904b11
...
...
@@ -42,7 +42,7 @@ end
function
c65030012
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030012
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -51,8 +51,6 @@ function c65030012.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030012
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
1600
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030013.lua
View file @
3e904b11
...
...
@@ -39,7 +39,7 @@ function c65030013.initial_effect(c)
end
function
c65030013
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030013
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -48,8 +48,6 @@ function c65030013.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030013
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
1400
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030014.lua
View file @
3e904b11
...
...
@@ -38,7 +38,7 @@ function c65030014.initial_effect(c)
end
function
c65030014
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030014
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -47,8 +47,6 @@ function c65030014.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030014
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
1200
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030015.lua
View file @
3e904b11
...
...
@@ -40,7 +40,7 @@ function c65030015.initial_effect(c)
end
function
c65030015
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030015
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -49,8 +49,6 @@ function c65030015.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030015
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
1800
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030016.lua
View file @
3e904b11
...
...
@@ -33,7 +33,7 @@ function c65030016.con(e)
end
function
c65030016
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030016
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -42,8 +42,6 @@ function c65030016.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030016
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
2200
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030018.lua
View file @
3e904b11
...
...
@@ -61,7 +61,7 @@ function c65030018.edop(e,tp,eg,ep,ev,re,r,rp)
end
function
c65030018
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
:
IsLocation
(
LOCATION_MZONE
)
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030018
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -70,8 +70,6 @@ function c65030018.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030018
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
2600
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c65030019.lua
View file @
3e904b11
...
...
@@ -38,7 +38,7 @@ function c65030019.initial_effect(c)
end
function
c65030019
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b
=
Duel
.
GetAttacker
()
return
b
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
return
b
and
b
:
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
and
b
:
IsAttackAbove
(
0
)
and
not
Duel
.
IsDamageCalculated
()
end
function
c65030019
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -47,8 +47,6 @@ function c65030019.atkop(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65030019
,
0
))
then
return
end
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
preatk
=
tc
:
GetAttack
()
if
tc
:
GetFlagEffect
(
65030020
)
>
0
and
preatk
<=
0
then
return
end
tc
:
RegisterFlagEffect
(
65030020
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
dam
=
2000
-
preatk
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -74,7 +72,7 @@ function c65030019.ntcon(e,c,minc)
return
minc
==
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetMatchingGroupCount
(
c65030019
.
actconfil
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
==
0
end
function
c65030019
.
nttg
(
e
,
c
)
return
c
:
IsLevel
Above
(
5
)
return
c
:
IsLevel
(
5
)
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