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
7ad877e7
Commit
7ad877e7
authored
Nov 12, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
5754cf29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
expansions/script/c65030065.lua
expansions/script/c65030065.lua
+6
-3
expansions/script/c65030066.lua
expansions/script/c65030066.lua
+6
-3
expansions/script/c65030067.lua
expansions/script/c65030067.lua
+6
-3
No files found.
expansions/script/c65030065.lua
View file @
7ad877e7
...
...
@@ -25,10 +25,11 @@ function c65030065.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetTarget
(
c65030065
.
e1tg
)
e1
:
SetValue
(
500
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
0
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
0
))
end
if
ct
>=
3
then
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -36,13 +37,14 @@ function c65030065.regop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetTarget
(
c65030065
.
e1tg
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
local
e4
=
e2
:
Clone
()
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
1
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
1
))
end
if
ctt
>=
1
then
--act limit
...
...
@@ -53,11 +55,12 @@ function c65030065.regop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCountLimit
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetCondition
(
c65030065
.
con
)
e3
:
SetTarget
(
c65030065
.
tg
)
e3
:
SetOperation
(
c65030065
.
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
2
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030065
,
2
))
end
end
function
c65030065
.
e1tg
(
e
,
c
)
...
...
expansions/script/c65030066.lua
View file @
7ad877e7
...
...
@@ -26,21 +26,23 @@ function c65030066.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetTargetRange
(
0
,
1
)
e1
:
SetValue
(
c65030066
.
aclimit
)
e1
:
SetCondition
(
c65030066
.
actcon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
0
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
0
))
end
if
ct
>=
3
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetCondition
(
c65030066
.
discon
)
e2
:
SetOperation
(
c65030066
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
1
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
1
))
end
if
ctt
>=
1
then
--act limit
...
...
@@ -51,10 +53,11 @@ function c65030066.regop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCondition
(
c65030066
.
con
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetTarget
(
c65030066
.
tg
)
e3
:
SetOperation
(
c65030066
.
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
2
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030066
,
2
))
end
end
function
c65030066
.
aclimit
(
e
,
re
,
tp
)
...
...
expansions/script/c65030067.lua
View file @
7ad877e7
...
...
@@ -25,10 +25,11 @@ function c65030067.regop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetTarget
(
c65030067
.
e1tg
)
e1
:
SetValue
(
500
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
0
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
0
))
end
if
ct
>=
3
then
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -36,10 +37,11 @@ function c65030067.regop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetTarget
(
c65030067
.
e1tg
)
e2
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
1
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
1
))
end
if
ctt
>=
1
then
--act limit
...
...
@@ -50,12 +52,13 @@ function c65030067.regop(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e3
:
SetCountLimit
(
1
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetCondition
(
c65030067
.
con
)
e3
:
SetCost
(
c65030067
.
cost
)
e3
:
SetTarget
(
c65030067
.
tg
)
e3
:
SetOperation
(
c65030067
.
op
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
EVENT_LEAVE_FIELD_P
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
2
))
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65030067
,
2
))
end
end
function
c65030067
.
e1tg
(
e
,
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