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
e9ebaf24
Commit
e9ebaf24
authored
Jan 12, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4d42fbed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
script/c101008074.lua
script/c101008074.lua
+1
-3
No files found.
script/c101008074.lua
View file @
e9ebaf24
...
@@ -7,7 +7,7 @@ function c101008074.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c101008074.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCountLimit
(
1
,
101008074
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
101008074
)
e1
:
SetCondition
(
c101008074
.
condition
)
e1
:
SetCondition
(
c101008074
.
condition
)
e1
:
SetTarget
(
c101008074
.
target
)
e1
:
SetTarget
(
c101008074
.
target
)
e1
:
SetOperation
(
c101008074
.
activate
)
e1
:
SetOperation
(
c101008074
.
activate
)
...
@@ -46,11 +46,9 @@ function c101008074.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,11 +46,9 @@ function c101008074.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
Duel
.
RegisterFlagEffect
(
tp
,
101008074
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c101008074
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101008074
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
101008074
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
101008074
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
101008074
)
==
0
and
aux
.
bfgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
end
and
aux
.
bfgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
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