Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
58c25936
Commit
58c25936
authored
Apr 21, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8c99e07c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
13 deletions
+1
-13
c42776855.lua
c42776855.lua
+0
-12
c7198399.lua
c7198399.lua
+1
-1
No files found.
c42776855.lua
View file @
58c25936
...
@@ -40,13 +40,6 @@ function c42776855.initial_effect(c)
...
@@ -40,13 +40,6 @@ function c42776855.initial_effect(c)
e5
:
SetCondition
(
c42776855
.
atkcon
)
e5
:
SetCondition
(
c42776855
.
atkcon
)
e5
:
SetOperation
(
c42776855
.
atkop
)
e5
:
SetOperation
(
c42776855
.
atkop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--Destroy
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EVENT_LEAVE_FIELD_P
)
e6
:
SetOperation
(
c42776855
.
checkop
)
c
:
RegisterEffect
(
e6
)
--Destroy2
--Destroy2
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e7
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
...
@@ -105,11 +98,6 @@ function c42776855.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -105,11 +98,6 @@ function c42776855.atkop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
end
end
function
c42776855
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsDisabled
()
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
function
c42776855
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42776855
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
local
tc
=
e
:
GetHandler
():
GetFirstCardTarget
()
return
tc
and
eg
:
IsContains
(
tc
)
return
tc
and
eg
:
IsContains
(
tc
)
...
...
c7198399.lua
View file @
58c25936
...
@@ -54,7 +54,7 @@ function c7198399.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -54,7 +54,7 @@ function c7198399.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c7198399
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c7198399
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
if
a
and
a
:
IsAttackable
()
and
a
:
IsFaceup
()
and
not
a
:
IsImmuneToEffect
(
e
)
and
not
a
:
IsStatus
(
STATUS_ATTACK_CANCELED
)
then
if
a
and
a
:
IsAttackable
()
and
a
:
IsFaceup
()
and
not
a
:
IsImmuneToEffect
(
e
)
and
not
a
:
IsStatus
(
STATUS_ATTACK_CANCELED
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
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