Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
V
Vgdpro 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
xiaoye
Vgdpro Scripts
Commits
e5dba470
Commit
e5dba470
authored
Feb 18, 2025
by
xiaoye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c10800855.lua
parent
a5848204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
c10800855.lua
c10800855.lua
+6
-8
No files found.
c10800855.lua
View file @
e5dba470
...
@@ -31,9 +31,8 @@ function cm.con1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,9 +31,8 @@ function cm.con1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
code
=
CARD_ENERGY
local
_
,
selfcode
=
c
:
GetOriginalCode
()
local
selfcode1
,
selfcode2
=
c
:
GetOriginalCode
()
local
code
=
CARD_ENERGY_LIST
[
selfcode
]
if
selfcode2
~=
CARD_ENERGY_EMBLEM
then
code
=
code
+
1
end
local
token1
=
Duel
.
CreateToken
(
tp
,
code
)
local
token1
=
Duel
.
CreateToken
(
tp
,
code
)
local
token2
=
Duel
.
CreateToken
(
tp
,
code
)
local
token2
=
Duel
.
CreateToken
(
tp
,
code
)
local
token3
=
Duel
.
CreateToken
(
tp
,
code
)
local
token3
=
Duel
.
CreateToken
(
tp
,
code
)
...
@@ -45,11 +44,10 @@ function cm.con2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,11 +44,10 @@ function cm.con2(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
code
=
CARD_ENERGY
local
_
,
selfcode
=
c
:
GetOriginalCode
()
local
selfcode1
,
selfcode2
=
c
:
GetOriginalCode
()
local
code
=
CARD_ENERGY_LIST
[
selfcode
]
if
selfcode2
~=
CARD_ENERGY_EMBLEM
then
code
=
code
+
1
end
if
vgf
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_EMBLEM
,
0
,
nil
,
CARD_ENERGY
)
>=
10
then
return
end
if
vgf
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_EMBLEM
,
0
,
nil
,
code
)
>=
10
then
return
end
local
ct
=
10
-
vgf
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_EMBLEM
,
0
,
nil
,
CARD_ENERGY
)
local
ct
=
10
-
vgf
.
GetMatchingGroupCount
(
Card
.
IsCode
,
tp
,
LOCATION_EMBLEM
,
0
,
nil
,
code
)
local
token1
=
Duel
.
CreateToken
(
tp
,
code
)
local
token1
=
Duel
.
CreateToken
(
tp
,
code
)
local
token2
=
Duel
.
CreateToken
(
tp
,
code
)
local
token2
=
Duel
.
CreateToken
(
tp
,
code
)
local
token3
=
Duel
.
CreateToken
(
tp
,
code
)
local
token3
=
Duel
.
CreateToken
(
tp
,
code
)
...
...
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