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
252725c5
Commit
252725c5
authored
Oct 21, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
897afc5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c101007006.lua
script/c101007006.lua
+1
-1
script/c101007011.lua
script/c101007011.lua
+1
-1
script/c101007055.lua
script/c101007055.lua
+1
-1
No files found.
script/c101007006.lua
View file @
252725c5
...
@@ -40,7 +40,7 @@ function c101007006.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,7 @@ function c101007006.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
val
=
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
local
val
=
Duel
.
Damage
(
1
-
tp
,
ev
,
REASON_EFFECT
)
if
val
>
0
then
if
val
>
0
then
Duel
.
Recover
(
tp
,
math.ceil
(
val
/
2
),
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
math.ceil
(
val
/
2
),
REASON_EFFECT
)
end
end
...
...
script/c101007011.lua
View file @
252725c5
...
@@ -23,7 +23,7 @@ function c101007011.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c101007011.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c101007011
.
tnval
(
e
,
c
)
function
c101007011
.
tnval
(
e
,
c
)
return
c
:
IsSetCard
(
0x27
)
return
e
:
GetHandler
():
IsControler
(
c
:
GetControler
())
and
c
:
IsSetCard
(
0x27
)
end
end
function
c101007011
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101007011
.
tkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
...
...
script/c101007055.lua
View file @
252725c5
...
@@ -51,7 +51,7 @@ function c101007055.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,7 @@ function c101007055.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c101007055
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101007055
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
return
re
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
GetHandler
():
IsSetCard
(
0x115
)
and
rp
==
tp
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
end
end
function
c101007055
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101007055
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Recover
(
tp
,
100
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
100
,
REASON_EFFECT
)
...
...
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