Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
1f74d6c7
Commit
1f74d6c7
authored
Apr 16, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dcc8d2a6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
script/c101005011.lua
script/c101005011.lua
+2
-1
script/c101005043.lua
script/c101005043.lua
+1
-0
script/c101005071.lua
script/c101005071.lua
+5
-2
No files found.
script/c101005011.lua
View file @
1f74d6c7
...
@@ -50,7 +50,8 @@ function c101005011.spval(e,c)
...
@@ -50,7 +50,8 @@ function c101005011.spval(e,c)
return
0
,
Duel
.
GetLinkedZone
(
c
:
GetControler
())
return
0
,
Duel
.
GetLinkedZone
(
c
:
GetControler
())
end
end
function
c101005011
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101005011
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
GetSummonLocation
()
==
LOCATION_EXTRA
local
loc
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_LOCATION
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
GetSummonLocation
()
==
LOCATION_EXTRA
and
loc
==
LOCATION_MZONE
and
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c101005011
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101005011
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c101005043.lua
View file @
1f74d6c7
...
@@ -24,6 +24,7 @@ function c101005043.initial_effect(c)
...
@@ -24,6 +24,7 @@ function c101005043.initial_effect(c)
--to hand
--to hand
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
101005043
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
101005043
,
0
))
e3
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
script/c101005071.lua
View file @
1f74d6c7
...
@@ -12,12 +12,15 @@ function c101005071.initial_effect(c)
...
@@ -12,12 +12,15 @@ function c101005071.initial_effect(c)
--atk limit
--atk limit
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_
CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetCode
(
EFFECT_
ONLY_ATTACK_MONSTER
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c101005071
.
atcon
)
e2
:
SetCondition
(
c101005071
.
atcon
)
e2
:
SetValue
(
c101005071
.
atlimit
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e3
:
SetValue
(
c101005071
.
atlimit
)
c
:
RegisterEffect
(
e3
)
end
end
function
c101005071
.
spfilter1
(
c
,
e
,
tp
)
function
c101005071
.
spfilter1
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0xfe
)
or
c
:
IsSetCard
(
0x217
))
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
(
c
:
IsSetCard
(
0xfe
)
or
c
:
IsSetCard
(
0x217
))
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
...
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