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
8adee31a
Commit
8adee31a
authored
Apr 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
7c2b7df2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
expansions/script/c12892013.lua
expansions/script/c12892013.lua
+20
-0
expansions/script/c16150007.lua
expansions/script/c16150007.lua
+2
-2
No files found.
expansions/script/c12892013.lua
View file @
8adee31a
...
@@ -23,6 +23,26 @@ function c12892013.initial_effect(c)
...
@@ -23,6 +23,26 @@ function c12892013.initial_effect(c)
e2
:
SetCondition
(
cm
.
olcon
)
e2
:
SetCondition
(
cm
.
olcon
)
e2
:
SetOperation
(
cm
.
olop
)
e2
:
SetOperation
(
cm
.
olop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--atk
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
function
(
e
,
c
)
return
c
:
GetOverlayCount
()
*
800
end
)
c
:
RegisterEffect
(
e3
)
--actlimit
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e4
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
1
)
e4
:
SetValue
(
1
)
e4
:
SetCondition
(
function
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
4
and
(
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
())
end
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
mfilter
(
c
,
xyzc
)
function
cm
.
mfilter
(
c
,
xyzc
)
return
c
:
IsXyzLevel
(
7
)
return
c
:
IsXyzLevel
(
7
)
...
...
expansions/script/c16150007.lua
View file @
8adee31a
...
@@ -25,14 +25,14 @@ function cm.initial_effect(c)
...
@@ -25,14 +25,14 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetRange
(
LOCATION_
S
ZONE
)
e3
:
SetRange
(
LOCATION_
M
ZONE
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetTargetRange
(
0
,
1
)
e3
:
SetValue
(
cm
.
aclimit
)
e3
:
SetValue
(
cm
.
aclimit
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_SSET
)
e4
:
SetCode
(
EVENT_SSET
)
e4
:
SetRange
(
LOCATION_
S
ZONE
)
e4
:
SetRange
(
LOCATION_
M
ZONE
)
e4
:
SetCondition
(
cm
.
actlimcon
)
e4
:
SetCondition
(
cm
.
actlimcon
)
e4
:
SetOperation
(
cm
.
aclimset
)
e4
:
SetOperation
(
cm
.
aclimset
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
...
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