Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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-520DIY
ygopro
Commits
c2435343
Commit
c2435343
authored
Dec 22, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
32ad8a72
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
20 deletions
+27
-20
script/c15721123.lua
script/c15721123.lua
+1
-1
script/c32559361.lua
script/c32559361.lua
+1
-1
script/c34620088.lua
script/c34620088.lua
+10
-10
script/c4081094.lua
script/c4081094.lua
+4
-0
script/c60992105.lua
script/c60992105.lua
+2
-3
script/c69170557.lua
script/c69170557.lua
+1
-1
script/c78697395.lua
script/c78697395.lua
+4
-0
script/c94220427.lua
script/c94220427.lua
+4
-4
No files found.
script/c15721123.lua
View file @
c2435343
--
Confronting the "C"
--
対峙するG
function
c15721123
.
initial_effect
(
c
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c32559361.lua
View file @
c2435343
...
...
@@ -44,7 +44,7 @@ end
function
c32559361
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetBattleTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateTo
Effect
(
e
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
tc
:
IsRelateTo
Battle
(
)
and
not
tc
:
IsImmuneToEffect
(
e
)
then
local
og
=
tc
:
GetOverlayGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
...
...
script/c34620088.lua
View file @
c2435343
...
...
@@ -19,13 +19,16 @@ function c34620088.initial_effect(c)
e2
:
SetTarget
(
c34620088
.
sptg
)
e2
:
SetOperation
(
c34620088
.
spop
)
c
:
RegisterEffect
(
e2
)
--redirect
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
e3
:
SetCondition
(
c34620088
.
rmcon
)
e3
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e3
)
if
not
c34620088
.
global_check
then
c34620088
.
global_check
=
true
local
ge1
=
Effect
.
GlobalEffect
()
ge1
:
SetType
(
EFFECT_TYPE_FIELD
)
ge1
:
SetCode
(
EFFECT_TO_GRAVE_REDIRECT
)
ge1
:
SetTargetRange
(
LOCATION_OVERLAY
,
LOCATION_OVERLAY
)
ge1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
34620088
))
ge1
:
SetValue
(
LOCATION_REMOVED
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
c34620088
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
and
eg
:
GetFirst
():
IsControler
(
1
-
tp
)
and
Duel
.
GetAttackTarget
()
==
nil
...
...
@@ -46,6 +49,3 @@ function c34620088.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
end
end
function
c34620088
.
rmcon
(
e
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_OVERLAY
)
end
script/c4081094.lua
View file @
c2435343
...
...
@@ -4,4 +4,8 @@ function c4081094.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SSET
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
e2
)
end
script/c60992105.lua
View file @
c2435343
...
...
@@ -35,9 +35,8 @@ function c60992105.operation(e,tp,eg,ep,ev,re,r,rp)
for
i
=
1
,
ct
do
t
[
i
]
=
i
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
60992105
,
1
))
local
ac
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ac
)
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
ac
,
REASON_EFFECT
)
local
g
=
Duel
.
GetOperatedGroup
()
if
g
:
IsExists
(
c60992105
.
filter
,
1
,
nil
)
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c69170557.lua
View file @
c2435343
...
...
@@ -8,7 +8,7 @@ function c69170557.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
69170557
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_S
PS
UMMON_SUCCESS
)
e1
:
SetTarget
(
c69170557
.
destg
)
e1
:
SetOperation
(
c69170557
.
desop
)
c
:
RegisterEffect
(
e1
)
...
...
script/c78697395.lua
View file @
c2435343
...
...
@@ -4,4 +4,8 @@ function c78697395.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_SSET
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
c
:
RegisterEffect
(
e2
)
end
script/c94220427.lua
View file @
c2435343
...
...
@@ -26,11 +26,11 @@ end
function
c94220427
.
filter1
(
c
,
e
,
tp
)
local
rk
=
c
:
GetRank
()
return
rk
>
4
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c94220427
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
rk
+
1
,
c
:
Get
Race
(),
c
:
Get
Code
(),
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c94220427
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
rk
+
1
,
c
:
GetCode
(),
e
,
tp
)
end
function
c94220427
.
filter2
(
c
,
rk
,
rc
,
code
,
e
,
tp
)
function
c94220427
.
filter2
(
c
,
rk
,
code
,
e
,
tp
)
if
c
:
IsCode
(
6165656
)
and
code
~=
48995978
then
return
false
end
return
c
:
GetRank
()
==
rk
and
c
:
IsRace
(
rc
)
and
(
c
:
IsSetCard
(
0x1048
)
or
c
:
IsSetCard
(
0x1073
))
return
c
:
GetRank
()
==
rk
and
(
c
:
IsSetCard
(
0x1048
)
or
c
:
IsSetCard
(
0x1073
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
end
function
c94220427
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -46,7 +46,7 @@ function c94220427.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c94220427
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
tc
:
GetRank
()
+
1
,
tc
:
Get
Race
(),
tc
:
Get
Code
(),
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c94220427
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
tc
:
GetRank
()
+
1
,
tc
:
GetCode
(),
e
,
tp
)
local
sc
=
g
:
GetFirst
()
if
sc
then
local
mg
=
tc
:
GetOverlayGroup
()
...
...
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