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
127b3ddc
Commit
127b3ddc
authored
May 24, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #797 from sidschingis/patch-2
fix
parents
b88a5d13
1c6a0ef4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
script/c19748583.lua
script/c19748583.lua
+2
-1
script/c55742055.lua
script/c55742055.lua
+2
-2
script/c93085839.lua
script/c93085839.lua
+11
-0
No files found.
script/c19748583.lua
View file @
127b3ddc
...
...
@@ -67,7 +67,8 @@ function c19748583.eqlimit(e,c)
end
function
c19748583
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
c
:
GetEquipTarget
():
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
if
chk
==
0
then
return
bit
.
band
(
r
,
REASON_EFFECT
)
~=
0
and
c
:
GetEquipTarget
():
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_DESTROY_CONFIRMED
)
end
return
Duel
.
SelectYesNo
(
e
:
GetOwnerPlayer
(),
aux
.
Stringid
(
19748583
,
1
))
end
function
c19748583
.
repop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c55742055.lua
View file @
127b3ddc
...
...
@@ -63,7 +63,7 @@ function c55742055.confilter(c)
end
function
c55742055
.
effcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c55742055
.
confilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_
MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c55742055
.
confilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_
ONFIELD
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
e
:
GetLabel
()
end
function
c55742055
.
filter1
(
c
)
...
...
@@ -124,7 +124,7 @@ function c55742055.operation3(e,tp,eg,ep,ev,re,r,rp)
end
function
c55742055
.
condition4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetTurnPlayer
()
~=
tp
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c55742055
.
confilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_
MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c55742055
.
confilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_
ONFIELD
,
0
,
nil
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
12
end
function
c55742055
.
target4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c93085839.lua
View file @
127b3ddc
...
...
@@ -51,6 +51,17 @@ function c93085839.effcon(e,tp,eg,ep,ev,re,r,rp)
return
(
r
==
REASON_XYZ
or
r
==
REASON_SYNCHRO
)
and
e
:
GetHandler
():
GetReasonCard
():
IsSetCard
(
0x107a
)
end
function
c93085839
.
effop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetOperation
(
c93085839
.
sumop
)
rc
:
RegisterEffect
(
e1
)
end
function
c93085839
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
SetChainLimitTillChainEnd
(
c93085839
.
chainlm
)
end
function
c93085839
.
chainlm
(
e
,
rp
,
tp
)
...
...
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