Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
specials
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
JoyJ
specials
Commits
5ff0e941
Commit
5ff0e941
authored
Dec 16, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify WuYiFanEx
parent
37fe5b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
dc-srv5555/S3/special-26.G-WuYiFanEx.lua
dc-srv5555/S3/special-26.G-WuYiFanEx.lua
+9
-5
No files found.
dc-srv5555/S3/special-26.G-WuYiFanEx.lua
View file @
5ff0e941
...
@@ -4,11 +4,15 @@
...
@@ -4,11 +4,15 @@
--这张卡的攻击力变成原本的1/100(向上取整)。
--这张卡的攻击力变成原本的1/100(向上取整)。
--直接攻击成功时,对方失去这张卡原本攻击力2倍的基本分。
--直接攻击成功时,对方失去这张卡原本攻击力2倍的基本分。
CUNGUI
=
{}
CUNGUI
=
{}
local
cgl
=
Card
.
GetLevel
Card
.
GetLevel
=
function
()
return
4
end
Card
.
GetLevel
=
function
(
c
)
return
(
not
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
))
and
cgl
(
c
)
or
4
end
Card
.
IsLevelAbove
=
function
(
c
,
lv
)
return
lv
<=
4
end
local
cila
=
Card
.
IsLevelAbove
Card
.
IsLevelBelow
=
function
(
c
,
lv
)
return
lv
>=
4
end
Card
.
IsLevelAbove
=
function
(
c
,
lv
)
return
(
not
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
))
and
cila
(
c
)
or
lv
<=
4
end
local
cilb
=
Card
.
IsLevelBelow
Card
.
IsLevelAbove
=
function
(
c
,
lv
)
return
(
not
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
))
and
cilb
(
c
)
or
lv
>=
4
end
local
cil
=
Card
.
IsLevel
Card
.
IsLevel
=
function
(
c
,
...
)
Card
.
IsLevel
=
function
(
c
,
...
)
if
not
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
)
then
return
cil
(
c
,
...
)
end
for
_
,
lv
in
ipairs
{
...
}
do
for
_
,
lv
in
ipairs
{
...
}
do
if
lv
==
4
then
return
true
end
if
lv
==
4
then
return
true
end
end
end
...
@@ -30,7 +34,7 @@ function Auxiliary.PreloadUds()
...
@@ -30,7 +34,7 @@ function Auxiliary.PreloadUds()
local
e2
=
Effect
.
GlobalEffect
()
local
e2
=
Effect
.
GlobalEffect
()
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e2
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e2
:
SetTargetRange
(
0xaf
,
0xaf
)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
LOCATION_HAND
+
LOCATION_MZONE
)
e2
:
SetTarget
(
aux
.
TRUE
)
e2
:
SetTarget
(
aux
.
TRUE
)
e2
:
SetValue
(
4
)
e2
:
SetValue
(
4
)
Duel
.
RegisterEffect
(
e2
,
0
)
Duel
.
RegisterEffect
(
e2
,
0
)
...
...
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