Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
13b283cb
Commit
13b283cb
authored
Dec 01, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add card YMAB
parent
4df2ffdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
c37984331.lua
c37984331.lua
+28
-0
No files found.
c37984331.lua
0 → 100644
View file @
13b283cb
--真エクゾディア
function
c37984331
.
initial_effect
(
c
)
--win
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EVENT_ADJUST
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c37984331
.
condition
)
e1
:
SetOperation
(
c37984331
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c37984331
.
winfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x40
)
and
c
:
IsType
(
TYPE_NORMAL
)
end
function
c37984331
.
cfilter
(
c
)
return
not
c37984331
.
winfilter
(
c
)
end
function
c37984331
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c37984331
.
winfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
==
4
and
not
Duel
.
IsExistingMatchingCard
(
c37984331
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
function
c37984331
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
WIN_REASON_EXODIA
=
0x10
Duel
.
Win
(
1
-
tp
,
WIN_REASON_EXODIA
)
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