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
37e9bed8
Commit
37e9bed8
authored
Nov 15, 2022
by
JoyJ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
880c4887
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
14 deletions
+11
-14
dc-srv5555/S2/special-13-ForbiddenRule.lua
dc-srv5555/S2/special-13-ForbiddenRule.lua
+1
-1
dc-srv5555/S2/special-14.1-DieFriendly.lua
dc-srv5555/S2/special-14.1-DieFriendly.lua
+1
-1
dc-srv5555/S2/special-14.3-WhoIsJoker.lua
dc-srv5555/S2/special-14.3-WhoIsJoker.lua
+8
-11
dc-srv5555/S3/special-22-RandomGift Extra.lua
dc-srv5555/S3/special-22-RandomGift Extra.lua
+1
-1
No files found.
dc-srv5555/S2/special-13-ForbiddenRule.lua
View file @
37e9bed8
...
@@ -10,7 +10,7 @@ CUNGUI = {}
...
@@ -10,7 +10,7 @@ CUNGUI = {}
CUNGUI
.
forbidden
=
{
91869203
,
20663556
,
44910027
,
51858306
,
25862681
,
53804307
,
7563579
,
17330916
,
CUNGUI
.
forbidden
=
{
91869203
,
20663556
,
44910027
,
51858306
,
25862681
,
53804307
,
7563579
,
17330916
,
34945480
,
90411554
,
8903700
,
11384280
,
17412721
,
67441435
,
34124316
,
88071625
,
61665245
,
52653092
,
34945480
,
90411554
,
8903700
,
11384280
,
17412721
,
67441435
,
34124316
,
88071625
,
61665245
,
52653092
,
48905153
,
85115440
,
59537380
,
86148577
,
88581108
,
21377582
,
94677445
,
16923472
,
15341821
,
37818794
,
48905153
,
85115440
,
59537380
,
86148577
,
88581108
,
21377582
,
94677445
,
16923472
,
15341821
,
37818794
,
18326736
,
79875176
,
75732622
,
22593417
,
39064822
,
0
3679218
,
54719828
,
58820923
,
26400609
,
71525232
,
18326736
,
79875176
,
75732622
,
22593417
,
39064822
,
3679218
,
54719828
,
58820923
,
26400609
,
71525232
,
78706415
,
93369354
,
23558733
,
9929398
,
9047460
,
70369116
,
31178212
,
63101919
,
34206604
,
4423206
,
78706415
,
93369354
,
23558733
,
9929398
,
9047460
,
70369116
,
31178212
,
63101919
,
34206604
,
4423206
,
14702066
,
96782886
,
3078576
,
34086406
,
85243784
,
57421866
,
41482598
,
44763025
,
17375316
,
19613556
,
14702066
,
96782886
,
3078576
,
34086406
,
85243784
,
57421866
,
41482598
,
44763025
,
17375316
,
19613556
,
74191942
,
42829885
,
45986603
,
55144522
,
4031928
,
23557835
,
31423101
,
57953380
,
54447022
,
60682203
,
74191942
,
42829885
,
45986603
,
55144522
,
4031928
,
23557835
,
31423101
,
57953380
,
54447022
,
60682203
,
...
...
dc-srv5555/S2/special-14.1-DieFriendly.lua
View file @
37e9bed8
...
@@ -7,7 +7,7 @@ local OrigSetType = Effect.SetType
...
@@ -7,7 +7,7 @@ local OrigSetType = Effect.SetType
function
Auxiliary
.
PreloadUds
()
function
Auxiliary
.
PreloadUds
()
Effect
.
SetType
=
function
(
e
,
typ
)
Effect
.
SetType
=
function
(
e
,
typ
)
if
(
typ
&
EFFECT_TYPE_IGNITION
)
+
(
typ
&
EFFECT_TYPE_QUICK_O
)
>
0
then
if
(
typ
&
EFFECT_TYPE_IGNITION
)
+
(
typ
&
EFFECT_TYPE_QUICK_O
)
>
0
then
e
:
SetProperty
(
e
:
GetProperty
(
)
|
EFFECT_FLAG_BOTH_SIDE
)
e
:
SetProperty
(
(
e
:
GetProperty
()
or
0
)
|
EFFECT_FLAG_BOTH_SIDE
)
end
end
OrigSetType
(
e
,
typ
)
OrigSetType
(
e
,
typ
)
end
end
...
...
dc-srv5555/S2/special-14.3-WhoIsJoker.lua
View file @
37e9bed8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
--开局时,双方从卡组外将1张【娱乐法师 戏法小丑】表侧表示从游戏中除外。
--开局时,双方从卡组外将1张【娱乐法师 戏法小丑】表侧表示从游戏中除外。
--这张【娱乐法师 戏法小丑】得到以下效果。
--这张【娱乐法师 戏法小丑】得到以下效果。
--①自己准备阶段,这张卡不在场上的场合发动。
--①自己准备阶段,这张卡不在场上的场合发动。
--投1个硬币。如果是正面,这张卡在自己场上特殊召唤,自己受到
1000点
伤害。
--投1个硬币。如果是正面,这张卡在自己场上特殊召唤,自己受到
(1~当前LP)点的随机
伤害。
--③这张卡离开场上的场合从游戏中除外,不在场上存在的场合(比如作为超量素材)从游戏中除外。
--③这张卡离开场上的场合从游戏中除外,不在场上存在的场合(比如作为超量素材)从游戏中除外。
CUNGUI
=
{}
CUNGUI
=
{}
...
@@ -22,6 +22,12 @@ function CUNGUI.AdjustOperation()
...
@@ -22,6 +22,12 @@ function CUNGUI.AdjustOperation()
CUNGUI
.
RegisterForbiddenRule
(
0
)
CUNGUI
.
RegisterForbiddenRule
(
0
)
CUNGUI
.
RegisterForbiddenRule
(
1
)
CUNGUI
.
RegisterForbiddenRule
(
1
)
end
end
if
not
CUNGUI
.
RandomSeedInit
then
CUNGUI
.
RandomSeedInit
=
true
Duel
.
LoadScript
(
"random.lua"
)
math.randomseed
(
_G
.
RANDOMSEED
)
for
i
=
1
,
10
do
math.random
(
1000
)
end
end
if
CUNGUI
.
RuleCard
[
0
]
and
not
CUNGUI
.
RuleCard
[
0
]:
IsLocation
(
LOCATION_REMOVED
+
LOCATION_ONFIELD
)
then
if
CUNGUI
.
RuleCard
[
0
]
and
not
CUNGUI
.
RuleCard
[
0
]:
IsLocation
(
LOCATION_REMOVED
+
LOCATION_ONFIELD
)
then
Duel
.
Remove
(
CUNGUI
.
RuleCard
[
0
],
POS_FACEUP
,
REASON_RULE
)
Duel
.
Remove
(
CUNGUI
.
RuleCard
[
0
],
POS_FACEUP
,
REASON_RULE
)
end
end
...
@@ -69,16 +75,7 @@ function CUNGUI.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,16 +75,7 @@ function CUNGUI.damop(e,tp,eg,ep,ev,re,r,rp)
local
dice
=
Duel
.
TossCoin
(
tp
,
1
)
local
dice
=
Duel
.
TossCoin
(
tp
,
1
)
if
dice
==
1
then
if
dice
==
1
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
Duel
.
Damage
(
tp
,
1000
,
REASON_EFFECT
)
Duel
.
Damage
(
tp
,
math.random
(
Duel
.
GetLP
(
tp
))
,
REASON_EFFECT
)
end
end
end
end
end
end
dc-srv5555/S3/special-22-RandomGift Extra.lua
View file @
37e9bed8
...
@@ -9,7 +9,7 @@ CUNGUI.NoFunc = {}
...
@@ -9,7 +9,7 @@ CUNGUI.NoFunc = {}
CUNGUI
.
Success
=
false
CUNGUI
.
Success
=
false
function
CUNGUI
.
TestEffect
(
te
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
CUNGUI
.
TestEffect
(
te
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
cod
=
e
:
GetCode
()
local
cod
=
t
e
:
GetCode
()
local
cond
=
te
:
GetCondition
()
local
cond
=
te
:
GetCondition
()
local
cost
=
te
:
GetCost
()
local
cost
=
te
:
GetCost
()
local
targ
=
te
:
GetTarget
()
local
targ
=
te
:
GetTarget
()
...
...
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