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
862a167b
Commit
862a167b
authored
Jun 05, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a9666553
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c34029630.lua
c34029630.lua
+4
-4
No files found.
c34029630.lua
View file @
862a167b
...
...
@@ -43,16 +43,16 @@ function c34029630.ctpermit(e)
end
function
c34029630
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c34029630
.
filter
(
chkc
)
end
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsCanAddCounter
(
tp
,
0x1
,
3
,
c
)
end
c
:
AddCounter
(
0x1
,
3
)
if
Duel
.
GetTurnPlayer
()
==
tp
and
c
:
IsCanRemoveCounter
(
tp
,
0x1
,
1
,
REASON_EFFECT
)
and
Duel
.
IsExistingTarget
(
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
()
)
and
Duel
.
IsExistingTarget
(
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
34029630
,
0
))
then
e
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
34029630
,
2
))
Duel
.
SelectTarget
(
tp
,
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
()
)
e
:
GetHandler
()
:
RegisterFlagEffect
(
34029630
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SelectTarget
(
tp
,
c34029630
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
)
c
:
RegisterFlagEffect
(
34029630
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
else
e
:
SetProperty
(
0
)
end
...
...
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