Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
6cba898b
Commit
6cba898b
authored
Nov 11, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8e2ac5ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
c20513882.lua
c20513882.lua
+1
-2
c81057455.lua
c81057455.lua
+2
-1
c82270047.lua
c82270047.lua
+1
-0
No files found.
c20513882.lua
View file @
6cba898b
...
@@ -26,8 +26,7 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,8 +26,7 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
return
Duel
.
CheckReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
nil
,
e
,
tp
)
and
Duel
.
CheckReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
local
rc
=
g
:
GetFirst
()
local
rc
=
g
:
GetFirst
()
...
...
c81057455.lua
View file @
6cba898b
...
@@ -26,6 +26,7 @@ function c81057455.initial_effect(c)
...
@@ -26,6 +26,7 @@ function c81057455.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
81057455
)
e3
:
SetCondition
(
c81057455
.
drcon
)
e3
:
SetCondition
(
c81057455
.
drcon
)
e3
:
SetTarget
(
c81057455
.
drtg
)
e3
:
SetTarget
(
c81057455
.
drtg
)
e3
:
SetOperation
(
c81057455
.
drop
)
e3
:
SetOperation
(
c81057455
.
drop
)
...
@@ -64,7 +65,7 @@ end
...
@@ -64,7 +65,7 @@ end
function
c81057455
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81057455
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENCE
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENCE
)
~=
0
then
e
:
GetHandler
():
AddCounter
(
0x37
,
1
)
e
:
GetHandler
():
AddCounter
(
0x37
,
1
)
end
end
end
end
...
...
c82270047.lua
View file @
6cba898b
...
@@ -43,6 +43,7 @@ function c82270047.initial_effect(c)
...
@@ -43,6 +43,7 @@ function c82270047.initial_effect(c)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e7
:
SetCode
(
EVENT_TO_GRAVE
)
e7
:
SetCode
(
EVENT_TO_GRAVE
)
e7
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e7
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e7
:
SetCountLimit
(
1
,
82270047
)
e7
:
SetCondition
(
c82270047
.
thcon
)
e7
:
SetCondition
(
c82270047
.
thcon
)
e7
:
SetCost
(
c82270047
.
thcost
)
e7
:
SetCost
(
c82270047
.
thcost
)
e7
:
SetTarget
(
c82270047
.
thtg
)
e7
:
SetTarget
(
c82270047
.
thtg
)
...
...
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