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
Soulgamer
ygopro-222DIY-cards
Commits
c669afb2
Commit
c669afb2
authored
Nov 23, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua fix
parent
2422c427
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
expansions/script/c65030083.lua
expansions/script/c65030083.lua
+4
-4
expansions/script/c81012060.lua
expansions/script/c81012060.lua
+1
-2
expansions/script/c81012062.lua
expansions/script/c81012062.lua
+1
-1
No files found.
expansions/script/c65030083.lua
View file @
c669afb2
...
...
@@ -60,11 +60,11 @@ function c65030083.negop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
Duel
.
BreakEffect
()
local
tgg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
t
c
=
tgg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
HintSelection
(
t
c
)
if
c65030083
.
checkfil
(
t
c
:
GetFirst
(),
e
,
tp
)
then
local
t
g
=
tgg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
HintSelection
(
t
g
)
if
c65030083
.
checkfil
(
t
g
:
GetFirst
(),
e
,
tp
)
then
Duel
.
NegateActivation
(
ev
)
Duel
.
SpecialSummon
(
t
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
t
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
...
...
expansions/script/c81012060.lua
View file @
c669afb2
...
...
@@ -41,10 +41,9 @@ function c81012060.initial_effect(c)
e4
:
SetDescription
(
aux
.
Stringid
(
81012060
,
1
))
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_
GRAV
E
)
e4
:
SetRange
(
LOCATION_
MZON
E
)
e4
:
SetCountLimit
(
1
,
81012960
)
e4
:
SetCondition
(
c81012060
.
thcon
)
e4
:
SetCost
(
aux
.
bfgcost
)
e4
:
SetTarget
(
c81012060
.
thtg
)
e4
:
SetOperation
(
c81012060
.
thop
)
c
:
RegisterEffect
(
e4
)
...
...
expansions/script/c81012062.lua
View file @
c669afb2
...
...
@@ -18,7 +18,7 @@ function c81012062.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
81012
0
62
)
e1
:
SetCountLimit
(
1
,
81012
9
62
)
e1
:
SetTarget
(
c81012062
.
settg
)
e1
:
SetOperation
(
c81012062
.
setop
)
c
:
RegisterEffect
(
e1
)
...
...
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