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
2b358ef9
Commit
2b358ef9
authored
Mar 19, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1efadfd6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
c20403123.lua
c20403123.lua
+1
-1
c55553602.lua
c55553602.lua
+5
-2
c67808837.lua
c67808837.lua
+1
-0
c92170894.lua
c92170894.lua
+1
-1
No files found.
c20403123.lua
View file @
2b358ef9
...
...
@@ -38,7 +38,7 @@ function c20403123.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c20403123
.
des
filter
(
c
)
function
c20403123
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDestructable
()
end
function
c20403123
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c55553602.lua
View file @
2b358ef9
...
...
@@ -24,13 +24,16 @@ function c55553602.initial_effect(c)
e3
:
SetOperation
(
c55553602
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c55553602
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetRace
()
~=
0
end
function
c55553602
.
atkvalue
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c55553602
.
atkfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetRace
)
return
ct
*
200
end
function
c55553602
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x9f
)
and
c
:
GetRace
()
~=
0
end
function
c55553602
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c55553602
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
c67808837.lua
View file @
2b358ef9
...
...
@@ -33,6 +33,7 @@ function c67808837.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
c67808837
.
atkcon
)
e4
:
SetValue
(
c67808837
.
atkval
)
...
...
c92170894.lua
View file @
2b358ef9
...
...
@@ -26,4 +26,4 @@ function c92170894.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
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