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
1c0074a7
Commit
1c0074a7
authored
Jun 17, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1cdd59dc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
script/c101010003.lua
script/c101010003.lua
+1
-1
script/c101010041.lua
script/c101010041.lua
+3
-3
script/c101010053.lua
script/c101010053.lua
+1
-1
script/c101010069.lua
script/c101010069.lua
+1
-1
No files found.
script/c101010003.lua
View file @
1c0074a7
...
@@ -84,6 +84,6 @@ function c101010003.damcon3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +84,6 @@ function c101010003.damcon3(e,tp,eg,ep,ev,re,r,rp)
local
ct
=
g
:
GetSum
(
Card
.
GetLink
)
*
1000
local
ct
=
g
:
GetSum
(
Card
.
GetLink
)
*
1000
return
Duel
.
GetBattleDamage
(
tp
)
<=
ct
return
Duel
.
GetBattleDamage
(
tp
)
<=
ct
end
end
function
c101010003
.
damop
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101010003
.
damop
3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
tp
,
0
)
Duel
.
ChangeBattleDamage
(
tp
,
0
)
end
end
script/c101010041.lua
View file @
1c0074a7
...
@@ -34,8 +34,8 @@ function c101010041.spcon1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,8 +34,8 @@ function c101010041.spcon1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101010041
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101010041
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
101010041
)
==
0
end
if
chk
==
0
then
return
c
:
GetFlagEffect
(
101010041
+
100
)
==
0
end
c
:
RegisterFlagEffect
(
101010041
,
RESET_CHAIN
,
0
,
1
)
c
:
RegisterFlagEffect
(
101010041
+
100
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
end
end
function
c101010041
.
spfilter1
(
c
,
e
,
tp
,
ec
)
function
c101010041
.
spfilter1
(
c
,
e
,
tp
,
ec
)
return
c
:
IsSetCard
(
0x12b
)
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x12b
)
and
c
:
GetEquipTarget
()
==
ec
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
@@ -71,7 +71,7 @@ function c101010041.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function c101010041.spop1(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_DAMAGE
)
t
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_PRE_BATTLE_DAMAGE
)
e3
:
SetCode
(
EVENT_PRE_BATTLE_DAMAGE
)
...
...
script/c101010053.lua
View file @
1c0074a7
...
@@ -82,7 +82,7 @@ function c101010053.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -82,7 +82,7 @@ function c101010053.eqop(e,tp,eg,ep,ev,re,r,rp)
local
ft
=
math.min
((
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)),
3
)
local
ft
=
math.min
((
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)),
3
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c101010053
.
eqfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c101010053
.
eqfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
not
c
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsRelateToEffect
(
e
)
or
ft
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsRelateToEffect
(
e
)
or
ft
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
EQUIP
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
ft
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
ft
)
if
sg
and
sg
:
GetCount
()
>
0
then
if
sg
and
sg
:
GetCount
()
>
0
then
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
...
...
script/c101010069.lua
View file @
1c0074a7
...
@@ -44,7 +44,7 @@ end
...
@@ -44,7 +44,7 @@ end
function
c101010069
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101010069
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
==
2
then
if
g
:
GetCount
()
==
2
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
function
c101010069
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101010069
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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