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
72a3e616
Commit
72a3e616
authored
May 20, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
89199908
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
script/c100227040.lua
script/c100227040.lua
+6
-0
script/c100409012.lua
script/c100409012.lua
+2
-2
No files found.
script/c100227040.lua
View file @
72a3e616
...
...
@@ -25,6 +25,7 @@ function c100227040.initial_effect(c)
e2
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c100227040
.
atkcon2
)
e2
:
SetCost
(
c100227040
.
atkcost2
)
e2
:
SetOperation
(
c100227040
.
atkop2
)
c
:
RegisterEffect
(
e2
)
--spsummon
...
...
@@ -64,6 +65,11 @@ function c100227040.atkop(e,tp,eg,ep,ev,re,r,rp)
tc
=
g
:
GetNext
()
end
end
function
c100227040
.
atkcost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
GetFlagEffect
(
100227040
)
==
0
end
c
:
RegisterFlagEffect
(
100227040
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
,
0
,
1
)
end
function
c100227040
.
atkcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
...
...
script/c100409012.lua
View file @
72a3e616
...
...
@@ -43,8 +43,8 @@ c100409012.material_setcode=0x1093
function
c100409012
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_MACHINE
)
end
function
c100409012
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c100409012
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
function
c100409012
.
indcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c100409012
.
cfilter
,
e
:
GetHandlerPlayer
()
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c100409012
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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