Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
0c48526e
Commit
0c48526e
authored
Sep 27, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f749840e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
script/c47355498.lua
script/c47355498.lua
+5
-5
script/c78610936.lua
script/c78610936.lua
+10
-9
No files found.
script/c47355498.lua
View file @
0c48526e
...
...
@@ -9,7 +9,7 @@ function c47355498.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_
S
ZONE
)
e2
:
SetRange
(
LOCATION_
F
ZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x2e
))
e2
:
SetValue
(
500
)
...
...
@@ -21,7 +21,7 @@ function c47355498.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e4
:
SetRange
(
LOCATION_
S
ZONE
)
e4
:
SetRange
(
LOCATION_
F
ZONE
)
e4
:
SetTargetRange
(
LOCATION_GRAVE
,
0
)
e4
:
SetCondition
(
c47355498
.
contp
)
c
:
RegisterEffect
(
e4
)
...
...
@@ -33,7 +33,7 @@ function c47355498.initial_effect(c)
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_FIELD
)
e6
:
SetCode
(
EFFECT_NECRO_VALLEY
)
e6
:
SetRange
(
LOCATION_
S
ZONE
)
e6
:
SetRange
(
LOCATION_
F
ZONE
)
e6
:
SetTargetRange
(
LOCATION_GRAVE
,
0
)
e6
:
SetCondition
(
c47355498
.
contp
)
c
:
RegisterEffect
(
e6
)
...
...
@@ -44,7 +44,7 @@ function c47355498.initial_effect(c)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_FIELD
)
e8
:
SetCode
(
EFFECT_NECRO_VALLEY
)
e8
:
SetRange
(
LOCATION_
S
ZONE
)
e8
:
SetRange
(
LOCATION_
F
ZONE
)
e8
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e8
:
SetTargetRange
(
1
,
0
)
e8
:
SetCondition
(
c47355498
.
contp
)
...
...
@@ -57,7 +57,7 @@ function c47355498.initial_effect(c)
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e10
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e10
:
SetRange
(
LOCATION_
S
ZONE
)
e10
:
SetRange
(
LOCATION_
F
ZONE
)
e10
:
SetOperation
(
c47355498
.
disop
)
c
:
RegisterEffect
(
e10
)
end
...
...
script/c78610936.lua
View file @
0c48526e
...
...
@@ -23,8 +23,7 @@ function c78610936.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
function
c78610936
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
GetLevel
()
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c78610936
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
@@ -41,13 +40,15 @@ function c78610936.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_DEFENCE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetValue
(
-
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
if
tc
:
GetLevewl
()
>
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LEVEL
)
e1
:
SetValue
(
-
1
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e1
)
tc
=
g
:
GetNext
()
end
end
Duel
.
SpecialSummonComplete
()
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