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
7c2f4507
Commit
7c2f4507
authored
May 17, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
20185f8a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
script/c19025379.lua
script/c19025379.lua
+1
-1
script/c33453260.lua
script/c33453260.lua
+1
-1
script/c39260991.lua
script/c39260991.lua
+1
-1
script/c67381587.lua
script/c67381587.lua
+2
-2
script/c72621670.lua
script/c72621670.lua
+1
-1
No files found.
script/c19025379.lua
View file @
7c2f4507
...
@@ -3,7 +3,7 @@ function c19025379.initial_effect(c)
...
@@ -3,7 +3,7 @@ function c19025379.initial_effect(c)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--destroy monster
--destroy monster
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
Set
Type
(
CATEGORY_DESTROY
)
e1
:
Set
Category
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
...
...
script/c33453260.lua
View file @
7c2f4507
...
@@ -58,7 +58,7 @@ function c33453260.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -58,7 +58,7 @@ function c33453260.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33453260
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c33453260
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33453260
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33453260
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
end
end
function
c33453260
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33453260
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c39260991.lua
View file @
7c2f4507
...
@@ -10,7 +10,7 @@ function c39260991.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c39260991.initial_effect(c)
e1
:
SetOperation
(
c39260991
.
thop
)
e1
:
SetOperation
(
c39260991
.
thop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c39260991
.
th
filter
(
c
)
function
c39260991
.
filter
(
c
)
return
c
:
IsSetCard
(
0xce
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xce
)
and
c
:
IsAbleToHand
()
end
end
function
c39260991
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c39260991
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c67381587.lua
View file @
7c2f4507
...
@@ -30,9 +30,9 @@ function c67381587.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -30,9 +30,9 @@ function c67381587.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c67381587
.
posfilter1
(
c
,
tp
)
function
c67381587
.
posfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcc
)
and
c
:
IsCanTurnSet
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xcc
)
and
c
:
IsCanTurnSet
()
and
Duel
.
IsExistingTarget
(
c67381587
.
posfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
and
Duel
.
IsExistingTarget
(
c67381587
.
posfilter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
end
function
c67381587
.
posfilter2
(
c
)
function
c67381587
.
posfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
...
...
script/c72621670.lua
View file @
7c2f4507
...
@@ -42,7 +42,7 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c72621670.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
if
not
sg
:
IsContains
(
tc
)
or
not
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
1
)
then
if
not
sg
:
IsContains
(
tc
)
or
not
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
1
)
then
if
not
tc
:
IsImmuneToEffect
(
e
)
and
tc
:
IsAbleToChangeControler
()
and
then
if
not
tc
:
IsImmuneToEffect
(
e
)
and
tc
:
IsAbleToChangeControler
()
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
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