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
2b6359c0
Commit
2b6359c0
authored
Jun 05, 2012
by
argon.sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9159d2bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
script/c94538053.lua
script/c94538053.lua
+4
-0
script/utility.lua
script/utility.lua
+7
-2
No files found.
script/c94538053.lua
View file @
2b6359c0
...
@@ -40,5 +40,9 @@ function c94538053.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,5 +40,9 @@ function c94538053.atkop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENCE
)
e2
:
SetCode
(
EFFECT_SET_BASE_DEFENCE
)
e2
:
SetValue
(
c
:
GetBaseDefence
()
/
2
)
e2
:
SetValue
(
c
:
GetBaseDefence
()
/
2
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e3
:
SetValue
(
2
)
c
:
RegisterEffect
(
e3
)
end
end
end
end
script/utility.lua
View file @
2b6359c0
...
@@ -510,6 +510,9 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
...
@@ -510,6 +510,9 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
tc
=
eg
:
GetNext
()
tc
=
eg
:
GetNext
()
end
end
if
chkf
~=
PLAYER_NONE
then
if
chkf
~=
PLAYER_NONE
then
if
sg2
:
GetCount
()
==
cc
then
sg1
:
Sub
(
sg2
)
end
local
g1
=
nil
local
g1
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
if
fs
then
g1
=
sg1
:
Select
(
tp
,
1
,
1
,
nil
)
if
fs
then
g1
=
sg1
:
Select
(
tp
,
1
,
1
,
nil
)
...
@@ -533,11 +536,13 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
...
@@ -533,11 +536,13 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
end
end
Duel
.
SetFusionMaterial
(
g1
)
Duel
.
SetFusionMaterial
(
g1
)
else
else
if
sg2
:
GetCount
()
==
cc
then
sg1
:
Sub
(
sg2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g1
=
sg1
:
Select
(
tp
,
1
,
1
,
nil
)
local
g1
=
sg1
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g2
=
sg2
:
Select
(
tp
,
cc
,
cc
,
g1
:
GetFirst
())
g1
:
Merge
(
sg2
:
Select
(
tp
,
cc
,
cc
,
g1
:
GetFirst
()))
g1
:
Merge
(
g2
)
Duel
.
SetFusionMaterial
(
g1
)
Duel
.
SetFusionMaterial
(
g1
)
end
end
end
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