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
ef0cf7a7
Commit
ef0cf7a7
authored
Oct 11, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
95677668
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
script/c101011008.lua
script/c101011008.lua
+4
-2
script/c101011011.lua
script/c101011011.lua
+4
-2
script/c101011057.lua
script/c101011057.lua
+1
-1
script/c101011059.lua
script/c101011059.lua
+1
-1
No files found.
script/c101011008.lua
View file @
ef0cf7a7
...
@@ -5,9 +5,11 @@ function c101011008.initial_effect(c)
...
@@ -5,9 +5,11 @@ function c101011008.initial_effect(c)
--can not be attack target
--can not be attack target
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
Set
Code
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e1
:
Set
Property
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e1
:
SetCondition
(
c101011008
.
atcon
)
e1
:
SetCondition
(
c101011008
.
atcon
)
e1
:
SetValue
(
aux
.
imval1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--search
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -44,7 +46,7 @@ end
...
@@ -44,7 +46,7 @@ end
function
c101011008
.
atfilter
(
c
)
function
c101011008
.
atfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x237
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x237
)
end
end
function
c101011008
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011008
.
atcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c101011008
.
atfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c101011008
.
atfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c101011008
.
srfilter
(
c
)
function
c101011008
.
srfilter
(
c
)
...
...
script/c101011011.lua
View file @
ef0cf7a7
...
@@ -5,9 +5,11 @@ function c101011011.initial_effect(c)
...
@@ -5,9 +5,11 @@ function c101011011.initial_effect(c)
--can not be attack target
--can not be attack target
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
Set
Code
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e1
:
Set
Property
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e1
:
SetCondition
(
c101011011
.
atcon
)
e1
:
SetCondition
(
c101011011
.
atcon
)
e1
:
SetValue
(
aux
.
imval1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--spsummon
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -37,7 +39,7 @@ end
...
@@ -37,7 +39,7 @@ end
function
c101011011
.
atfilter
(
c
)
function
c101011011
.
atfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x237
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x237
)
end
end
function
c101011011
.
atcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011011
.
atcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c101011011
.
atfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c101011011
.
atfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c101011011
.
spfilter
(
c
,
e
,
tp
)
function
c101011011
.
spfilter
(
c
,
e
,
tp
)
...
...
script/c101011057.lua
View file @
ef0cf7a7
...
@@ -42,7 +42,7 @@ function c101011057.cfilter(c)
...
@@ -42,7 +42,7 @@ function c101011057.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x238
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x238
)
end
end
function
c101011057
.
thfilter
(
c
)
function
c101011057
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
end
function
c101011057
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011057
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101011057
.
cfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c101011057
.
cfilter
,
1
,
nil
)
...
...
script/c101011059.lua
View file @
ef0cf7a7
...
@@ -33,7 +33,7 @@ function c101011059.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c101011059.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c101011059
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101011059
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101011059
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c101011059
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
ct
=
Duel
.
GetMatchingGroup
(
aux
.
FilterEqualFunction
(
Card
.
GetSummonLocation
,
LOCATION_EXTRA
),
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
ct
=
Duel
.
GetMatchingGroup
Count
(
aux
.
FilterEqualFunction
(
Card
.
GetSummonLocation
,
LOCATION_EXTRA
),
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
ct
+
1
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
ct
+
1
)
if
sg
and
sg
:
GetCount
()
>
0
then
if
sg
and
sg
:
GetCount
()
>
0
then
...
...
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