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
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-scripts
Commits
24089d2b
Commit
24089d2b
authored
Dec 10, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9ab3529c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
c63767246.lua
c63767246.lua
+2
-1
c70043345.lua
c70043345.lua
+1
-0
No files found.
c63767246.lua
View file @
24089d2b
...
@@ -84,7 +84,8 @@ function c63767246.atkfilter2(c)
...
@@ -84,7 +84,8 @@ function c63767246.atkfilter2(c)
end
end
function
c63767246
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c63767246
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c63767246
.
atkfilter2
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c63767246
.
atkfilter2
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c63767246
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
c63767246
.
atkfilter1
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingTarget
(
c63767246
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
c63767246
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
c63767246
.
atkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
end
...
...
c70043345.lua
View file @
24089d2b
...
@@ -65,6 +65,7 @@ function c70043345.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +65,7 @@ function c70043345.rmop(e,tp,eg,ep,ev,re,r,rp)
if
bc
:
IsRelateToBattle
()
and
bc
:
IsControler
(
1
-
tp
)
and
Duel
.
Remove
(
bc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
if
bc
:
IsRelateToBattle
()
and
bc
:
IsControler
(
1
-
tp
)
and
Duel
.
Remove
(
bc
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
bc
:
SetTurnCounter
(
0
)
bc
:
SetTurnCounter
(
0
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
70043345
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
2
)
...
...
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