Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
d1f5e56a
You need to sign in or sign up before continuing.
Commit
d1f5e56a
authored
Oct 25, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fb7fa713
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
c20579538.lua
c20579538.lua
+2
-2
c2266498.lua
c2266498.lua
+3
-3
c71650854.lua
c71650854.lua
+1
-1
c93503294.lua
c93503294.lua
+1
-1
c98126725.lua
c98126725.lua
+1
-1
No files found.
c20579538.lua
View file @
d1f5e56a
...
@@ -11,12 +11,12 @@ function c20579538.initial_effect(c)
...
@@ -11,12 +11,12 @@ function c20579538.initial_effect(c)
e1
:
SetTarget
(
c20579538
.
target
)
e1
:
SetTarget
(
c20579538
.
target
)
e1
:
SetOperation
(
c20579538
.
operation
)
e1
:
SetOperation
(
c20579538
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
tohand
--
spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
20579538
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
20579538
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_
CARD_TARGET
+
EFFECT_FLAG_
DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCountLimit
(
1
,
20579539
)
e2
:
SetCountLimit
(
1
,
20579539
)
e2
:
SetCondition
(
c20579538
.
spcon
)
e2
:
SetCondition
(
c20579538
.
spcon
)
...
...
c2266498.lua
View file @
d1f5e56a
...
@@ -18,13 +18,13 @@ function c2266498.cfilter(c,e,tp,m,ft)
...
@@ -18,13 +18,13 @@ function c2266498.cfilter(c,e,tp,m,ft)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
return
m
:
IsExists
(
c2266498
.
spselect
,
1
,
nil
,
c
,
0
,
ft
,
m
,
sg
)
return
m
:
IsExists
(
c2266498
.
spselect
,
1
,
nil
,
c
,
0
,
ft
,
m
,
sg
)
end
end
function
c2266498
.
spgoal
(
c
,
mc
,
ct
,
sg
)
function
c2266498
.
spgoal
(
mc
,
ct
,
sg
)
return
sg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
mc
:
GetLevel
(),
ct
,
ct
,
mc
)
and
sg
:
GetClassCount
(
Card
.
GetCode
)
==
ct
return
sg
:
CheckWithSumEqual
(
Card
.
GetRitualLevel
,
mc
:
GetLevel
(),
ct
,
ct
,
mc
)
and
sg
:
GetClassCount
(
Card
.
GetCode
)
==
ct
end
end
function
c2266498
.
spselect
(
c
,
mc
,
ct
,
ft
,
m
,
sg
)
function
c2266498
.
spselect
(
c
,
mc
,
ct
,
ft
,
m
,
sg
)
sg
:
AddCard
(
c
)
sg
:
AddCard
(
c
)
ct
=
ct
+
1
ct
=
ct
+
1
local
res
=
(
ft
>=
ct
and
c2266498
.
spgoal
(
c
,
mc
,
ct
,
sg
))
or
m
:
IsExists
(
c2266498
.
spselect
,
1
,
sg
,
mc
,
ct
,
ft
,
m
,
sg
)
local
res
=
(
ft
>=
ct
and
c2266498
.
spgoal
(
mc
,
ct
,
sg
))
or
m
:
IsExists
(
c2266498
.
spselect
,
1
,
sg
,
mc
,
ct
,
ft
,
m
,
sg
)
sg
:
RemoveCard
(
c
)
sg
:
RemoveCard
(
c
)
return
res
return
res
end
end
...
@@ -60,7 +60,7 @@ function c2266498.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c2266498.activate(e,tp,eg,ep,ev,re,r,rp)
local
cg
=
mg
:
Filter
(
c2266498
.
spselect
,
sg
,
tc
,
i
,
ft
,
mg
,
sg
)
local
cg
=
mg
:
Filter
(
c2266498
.
spselect
,
sg
,
tc
,
i
,
ft
,
mg
,
sg
)
if
cg
:
GetCount
()
==
0
then
break
end
if
cg
:
GetCount
()
==
0
then
break
end
local
min
=
1
local
min
=
1
if
c2266498
.
spgoal
(
c
,
tc
,
ct
,
sg
)
then
if
c2266498
.
spgoal
(
tc
,
i
,
sg
)
then
if
not
Duel
.
SelectYesNo
(
tp
,
210
)
then
break
end
if
not
Duel
.
SelectYesNo
(
tp
,
210
)
then
break
end
min
=
0
min
=
0
end
end
...
...
c71650854.lua
View file @
d1f5e56a
...
@@ -52,7 +52,7 @@ function c71650854.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c71650854.condition(e,tp,eg,ep,ev,re,r,rp)
return
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
return
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
not
Duel
.
CheckPhaseActivity
()
and
not
Duel
.
CheckPhaseActivity
()
end
end
function
c71650854
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71650854
.
indcon
(
e
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
end
end
function
c71650854
.
setlimit
(
e
,
c
,
tp
)
function
c71650854
.
setlimit
(
e
,
c
,
tp
)
...
...
c93503294.lua
View file @
d1f5e56a
...
@@ -19,7 +19,7 @@ function c93503294.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c93503294.initial_effect(c)
--to hand
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
93503294
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
93503294
,
1
))
e2
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
c98126725.lua
View file @
d1f5e56a
...
@@ -13,7 +13,7 @@ end
...
@@ -13,7 +13,7 @@ end
function
c98126725
.
cfilter
(
c
)
function
c98126725
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3d
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3d
)
end
end
function
c98126725
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98126725
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c98126725
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c98126725
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c98126725
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98126725
.
attg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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