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
ac5fae27
Commit
ac5fae27
authored
Jun 26, 2019
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
746312dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletion
+23
-1
expansions/script/c77765003.lua
expansions/script/c77765003.lua
+1
-1
expansions/script/c77765050.lua
expansions/script/c77765050.lua
+22
-0
No files found.
expansions/script/c77765003.lua
View file @
ac5fae27
...
...
@@ -44,7 +44,7 @@ function cm.filter1(c)
return
c
:
IsCode
(
77765001
)
end
function
cm
.
con
(
e
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
e
:
GetHandlerPlayer
(),
LOCATION_
GRAV
E
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
e
:
GetHandlerPlayer
(),
LOCATION_
MZON
E
,
0
,
1
,
nil
)
end
function
cm
.
costfilter
(
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
c
:
IsDiscardable
()
...
...
expansions/script/c77765050.lua
View file @
ac5fae27
...
...
@@ -32,6 +32,28 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetOperation
(
cm
.
counter
)
c
:
RegisterEffect
(
e2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
function
(
e
,
c
)
return
c
:
IsFaceup
()
end
)
e2
:
SetValue
(
function
(
e
,
c
)
return
e
:
GetHandler
():
GetCounter
(
0x1
)
*-
300
end
)
c
:
RegisterEffect
(
e2
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SELF_TOGRAVE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
function
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttack
(
0
)
and
c
:
GetBaseAttack
()
>
0
end
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
m
*
16
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
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