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
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-scripts
Commits
bb062b7e
Commit
bb062b7e
authored
Aug 27, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d3896ad3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
c20513882.lua
c20513882.lua
+2
-2
c60080151.lua
c60080151.lua
+1
-1
c99357565.lua
c99357565.lua
+2
-1
No files found.
c20513882.lua
View file @
bb062b7e
...
@@ -32,12 +32,12 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -32,12 +32,12 @@ function c20513882.target(e,tp,eg,ep,ev,re,r,rp,chk)
return
Duel
.
CheckReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
nil
,
tp
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
nil
,
tp
)
end
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
c20513882
.
cfilter
,
1
,
1
,
nil
,
tp
)
Duel
.
SetTargetCard
(
g
)
e
:
SetLabelObject
(
g
:
GetFirst
()
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
function
c20513882
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20513882
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarge
t
()
local
tc
=
e
:
GetLabelObjec
t
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20513882
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tc
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20513882
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tc
)
if
g
:
GetCount
()
>
0
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
if
g
:
GetCount
()
>
0
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
...
...
c60080151.lua
View file @
bb062b7e
...
@@ -21,7 +21,7 @@ function c60080151.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -21,7 +21,7 @@ function c60080151.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c60080151
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60080151
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
if
tc
and
tc
:
IsAttackable
()
and
tc
:
Is
OnField
()
and
not
tc
:
IsStatus
(
STATUS_ATTACK_CANCELED
)
then
if
tc
and
tc
:
IsAttackable
()
and
tc
:
Is
RelateToBattle
()
and
not
tc
:
IsStatus
(
STATUS_ATTACK_CANCELED
)
then
local
dam
=
tc
:
GetAttack
()
local
dam
=
tc
:
GetAttack
()
if
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
>
0
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
)
>
0
and
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c99357565.lua
View file @
bb062b7e
...
@@ -37,8 +37,9 @@ function c99357565.scop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,8 +37,9 @@ function c99357565.scop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetCode
(
EFFECT_ADD_SETCODE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
0xc008
)
e1
:
SetValue
(
0xc008
)
e1
:
SetReset
(
RESET_EVENT
+
0x1f
f
0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1f
e
0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
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