Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
8af795c9
Commit
8af795c9
authored
May 16, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0406a68f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
script/c39454112.lua
script/c39454112.lua
+2
-2
script/c40737112.lua
script/c40737112.lua
+2
-7
No files found.
script/c39454112.lua
View file @
8af795c9
...
...
@@ -22,9 +22,9 @@ function c39454112.diceop(e,tp,eg,ep,ev,re,r,rp)
local
ac
=
1
local
ct
=
bit
.
band
(
ev
,
0xff
)
+
bit
.
rshift
(
ev
,
16
)
if
ct
>
1
then
local
val
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
39454112
,
1
))
val
,
ac
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
dc
,
1
,
ct
))
local
val
,
idx
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
dc
,
1
,
ct
))
ac
=
idx
+
1
end
if
dc
[
ac
]
==
1
or
dc
[
ac
]
==
3
or
dc
[
ac
]
==
5
then
dc
[
ac
]
=
6
else
dc
[
ac
]
=
1
end
...
...
script/c40737112.lua
View file @
8af795c9
...
...
@@ -78,13 +78,8 @@ function c40737112.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c40737112
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
e
:
GetLabelObject
()
if
bc
:
IsRelateToBattle
()
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE
)
bc
:
RegisterEffect
(
e1
,
true
)
if
bc
:
IsRelateToBattle
()
and
bc
:
IsAbleToRemove
()
then
Duel
.
Destroy
(
bc
,
REASON_EFFECT
+
REASON_BATTLE
,
LOCATION_REMOVED
)
end
end
function
c40737112
.
recon
(
e
)
...
...
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