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
aaf28153
Commit
aaf28153
authored
Feb 17, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a9a00e9b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
14 deletions
+15
-14
script/c24658418.lua
script/c24658418.lua
+1
-1
script/c33746252.lua
script/c33746252.lua
+1
-1
script/c46871387.lua
script/c46871387.lua
+2
-1
script/c49838105.lua
script/c49838105.lua
+1
-2
script/c73136204.lua
script/c73136204.lua
+3
-3
script/c8038143.lua
script/c8038143.lua
+2
-2
script/c81994591.lua
script/c81994591.lua
+1
-1
script/c9260791.lua
script/c9260791.lua
+4
-3
No files found.
script/c24658418.lua
View file @
aaf28153
...
...
@@ -33,7 +33,7 @@ function c24658418.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c24658418
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
1
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
_DEFENCE
)
end
end
function
c24658418
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c33746252.lua
View file @
aaf28153
...
...
@@ -13,7 +13,7 @@ function c33746252.initial_effect(c)
e2
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
Set
Target
(
c33746252
.
aclimit
)
e2
:
Set
Value
(
c33746252
.
aclimit
)
c
:
RegisterEffect
(
e2
)
end
function
c33746252
.
aclimit
(
e
,
re
,
tp
)
...
...
script/c46871387.lua
View file @
aaf28153
...
...
@@ -25,7 +25,8 @@ function c46871387.initial_effect(c)
end
c46871387
.
xyz_number
=
55
function
c46871387
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
46871387
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
46871387
)
==
0
and
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
Duel
.
RegisterFlagEffect
(
tp
,
46871387
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c46871387
.
filter
(
c
)
...
...
script/c49838105.lua
View file @
aaf28153
...
...
@@ -20,8 +20,7 @@ function c49838105.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
49838105
,
1
))
e3
:
SetCategory
(
CATEGORY_TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_DRAW
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCode
(
EVENT_PREDRAW
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c49838105
.
cfcon
)
e3
:
SetTarget
(
c49838105
.
cftg
)
...
...
script/c73136204.lua
View file @
aaf28153
...
...
@@ -4,9 +4,9 @@ function c73136204.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
73136204
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
Set
Property
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCo
de
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetType
(
EFFECT_TYPE_
IGNITION
)
e1
:
Set
Range
(
LOCATION_MZONE
)
e1
:
SetCo
untLimit
(
1
)
e1
:
SetTarget
(
c73136204
.
target
)
e1
:
SetOperation
(
c73136204
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
script/c8038143.lua
View file @
aaf28153
...
...
@@ -32,7 +32,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
tgp
~=
tp
then
local
tc
=
te
:
GetHandler
()
ng
:
AddCard
(
tc
)
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
()
then
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
then
dg
:
AddCard
(
tc
)
end
end
...
...
@@ -48,7 +48,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
if
tgp
~=
tp
then
Duel
.
NegateActivation
(
i
)
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
tc
:
IsAbleToDeck
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
then
tc
:
CancelToGrave
()
dg
:
AddCard
(
tc
)
end
...
...
script/c81994591.lua
View file @
aaf28153
...
...
@@ -46,7 +46,7 @@ end
function
c81994591
.
indop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_
INDESTRUCTABL
E
)
e1
:
SetCode
(
EFFECT_
DESTROY_SUBSTITUT
E
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1d
))
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
...
...
script/c9260791.lua
View file @
aaf28153
...
...
@@ -28,16 +28,17 @@ function c9260791.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c9260791
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x107b
)
and
not
c
:
IsCode
(
9260791
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c9260791
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c9260791
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
and
Duel
.
IsExistingMatchingCard
(
c9260791
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
end
function
c9260791
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9260791
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c9260791
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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