Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
phpdts
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
Nemo Ma
phpdts
Commits
f93bcbf4
Commit
f93bcbf4
authored
Jul 24, 2023
by
satsuki8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了club20的部分配置,并修复了快速投料特定情况不显示随机公式的问题
parent
ad5ee77b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
gamedata/cache/elementmix_1.php
gamedata/cache/elementmix_1.php
+11
-2
include/game/elementmix.calc.php
include/game/elementmix.calc.php
+1
-1
include/game/elementmix.func.php
include/game/elementmix.func.php
+1
-1
No files found.
gamedata/cache/elementmix_1.php
View file @
f93bcbf4
...
@@ -123,6 +123,7 @@
...
@@ -123,6 +123,7 @@
'R'
=>
11
,
//馄饨伤害
'R'
=>
11
,
//馄饨伤害
'N'
=>
68
,
//冲击
'N'
=>
68
,
//冲击
'n'
=>
89
,
//贯穿
'n'
=>
89
,
//贯穿
'y'
=>
90
,
//破格
'r'
=>
144
,
//连击
'r'
=>
144
,
//连击
//属性攻击:
//属性攻击:
'u'
=>
52
,
//火焰
'u'
=>
52
,
//火焰
...
@@ -286,7 +287,9 @@
...
@@ -286,7 +287,9 @@
$submix_list
=
array
$submix_list
=
array
(
(
Array
(
'stuff'
=>
Array
(
'u'
,
'x'
,
'z'
),
'result'
=>
'f'
,
'obbs'
=>
33
),
Array
(
'stuff'
=>
Array
(
'u'
,
'x'
,
'z'
),
'result'
=>
'f'
,
'obbs'
=>
33
),
Array
(
'stuff'
=>
Array
(
'i'
,
'x'
,
'z'
),
'result'
=>
'k'
,
'obbs'
=>
33
),
Array
(
'stuff'
=>
Array
(
'i'
,
'x'
,
'z'
),
'result'
=>
'k'
,
'obbs'
=>
33
),
//伤害制御:5个奇迹……现在的机制的话,大概是0.67*0.67*0.01的概率
Array
(
'stuff'
=>
Array
(
'x'
,
'x'
,
'x'
,
'x'
,
'x'
),
'result'
=>
'h'
,
'obbs'
=>
1
),
);
);
# 随机的次要特征组合配方 注意:指定属性(sk_*)一定要放到最前面
# 随机的次要特征组合配方 注意:指定属性(sk_*)一定要放到最前面
$random_submix_list
=
Array
$random_submix_list
=
Array
...
@@ -352,6 +355,8 @@
...
@@ -352,6 +355,8 @@
'DA'
=>
Array
(
'盾'
,
'掌'
,
'手套'
,
'朋友'
,
'匣子'
,
'鱼鳞'
,
'力场盾'
,
'鱼竿'
,
'手表'
,
'手环'
,
'镣铐'
,
'命数'
,
'战甲A'
),
'DA'
=>
Array
(
'盾'
,
'掌'
,
'手套'
,
'朋友'
,
'匣子'
,
'鱼鳞'
,
'力场盾'
,
'鱼竿'
,
'手表'
,
'手环'
,
'镣铐'
,
'命数'
,
'战甲A'
),
'DF'
=>
Array
(
'鞋'
,
'靴'
,
'爪'
,
'加护'
,
'轨迹'
,
'脚步'
,
'飞毯'
,
'马靴'
,
'草鞋'
,
'触手'
,
'尾巴'
,
'滑板'
,
'战甲F'
),
'DF'
=>
Array
(
'鞋'
,
'靴'
,
'爪'
,
'加护'
,
'轨迹'
,
'脚步'
,
'飞毯'
,
'马靴'
,
'草鞋'
,
'触手'
,
'尾巴'
,
'滑板'
,
'战甲F'
),
'H'
=>
Array
(
'秘药'
,
'罐头'
,
'糊糊'
,
'杏仁豆腐'
,
'烤鱼面包'
,
'章鱼须'
,
'乌鸡肉'
,
'生海带'
,
'幸运饼干'
,
'长芽土豆'
,
'眼泪'
,
'趣味'
),
//补给
'H'
=>
Array
(
'秘药'
,
'罐头'
,
'糊糊'
,
'杏仁豆腐'
,
'烤鱼面包'
,
'章鱼须'
,
'乌鸡肉'
,
'生海带'
,
'幸运饼干'
,
'长芽土豆'
,
'眼泪'
,
'趣味'
),
//补给
'V'
=>
Array
(
'指南'
,
'卷轴'
,
'手册'
,
'秘籍'
,
'乐谱'
,
'知识'
,
'共鸣'
,
'秘术'
,
'法典'
,
'广告'
,
'指引'
,
'教导'
),
//技能书
'M'
=>
Array
(
'羽毛'
,
'结晶'
,
'精华'
,
'甘露'
,
'魂'
,
'眼'
,
'心'
,
'血'
,
'魔核'
,
'宝珠'
,
'力量'
,
'勇气'
),
//强化药物
'0'
=>
Array
(
'怪东西'
,
'???'
,
'竟然是它'
,
'■■■'
,
'数据削除'
),
//BUG词尾:没有找到类别的情况下会变成这个
'0'
=>
Array
(
'怪东西'
,
'???'
,
'竟然是它'
,
'■■■'
,
'数据削除'
),
//BUG词尾:没有找到类别的情况下会变成这个
);
);
...
@@ -361,9 +366,13 @@
...
@@ -361,9 +366,13 @@
$itmk_to_itmsk_tags
=
Array
$itmk_to_itmsk_tags
=
Array
(
(
//攻击面特征
//攻击面特征
'W'
=>
Array
(
'u'
,
'e'
,
'i'
,
'w'
,
'p'
,
'd'
,
'r'
,
'f'
,
'k'
,
'R'
,
'S'
,
'o'
,
'n'
,
'N'
),
'W'
=>
Array
(
'u'
,
'e'
,
'i'
,
'w'
,
'p'
,
'd'
,
'r'
,
'f'
,
'k'
,
'R'
,
'S'
,
'o'
,
'n'
,
'N'
,
'y'
),
//可以直接由元素得到的攻击面特征
'W_0'
=>
Array
(
'u'
,
'e'
,
'i'
,
'w'
,
'p'
,
'd'
,
'S'
),
//防御面特征
//防御面特征
'D'
=>
Array
(
'P'
,
'K'
,
'C'
,
'G'
,
'D'
,
'F'
,
'U'
,
'E'
,
'I'
,
'W'
,
'q'
,
'M'
,
'a'
,
'A'
,
'B'
,
'b'
),
'D'
=>
Array
(
'P'
,
'K'
,
'C'
,
'G'
,
'D'
,
'F'
,
'U'
,
'E'
,
'I'
,
'W'
,
'q'
,
'M'
,
'a'
,
'A'
,
'B'
,
'b'
),
//可以直接由元素得到的防御面特征
'D_0'
=>
Array
(
'P'
,
'K'
,
'C'
,
'G'
,
'D'
,
'F'
,
'U'
,
'E'
,
'I'
,
'W'
,
'q'
,
'M'
),
//杂项特征
//杂项特征
'misc'
=>
Array
(
'z'
,
'x'
,
'c'
,
'h'
,
'H'
,
'l'
,
'g'
,
'Z'
),
'misc'
=>
Array
(
'z'
,
'x'
,
'c'
,
'h'
,
'H'
,
'l'
,
'g'
,
'Z'
),
);
);
...
...
include/game/elementmix.calc.php
View file @
f93bcbf4
...
@@ -741,7 +741,7 @@
...
@@ -741,7 +741,7 @@
# 前缀以“tags_”表示的,代表要选用带有对应标签的属性
# 前缀以“tags_”表示的,代表要选用带有对应标签的属性
elseif
(
strpos
(
$snum
,
'tags_'
)
===
0
)
elseif
(
strpos
(
$snum
,
'tags_'
)
===
0
)
{
{
$snum
=
$itmk_to_itmsk_tags
[
str_replace
(
'tags_'
,
''
,
$snum
)
];
$snum
=
$itmk_to_itmsk_tags
[
(
str_replace
(
'tags_'
,
''
,
$snum
))
.
'_0'
];
shuffle
(
$snum
);
shuffle
(
$snum
);
$skey
=
$snum
[
0
];
$skey
=
$snum
[
0
];
}
}
...
...
include/game/elementmix.func.php
View file @
f93bcbf4
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
break
;
break
;
}
}
}
}
if
(
$flag_complete
==
0
)
break
;
if
(
$flag_complete
==
0
)
continue
;
$emix_arr
=
json_encode
(
$list
[
'stuff'
]);
$emix_arr
=
json_encode
(
$list
[
'stuff'
]);
$quickmix
.=
'<input type="button" value="投入" onclick="AddMixElements('
.
$emix_arr
.
');"> '
;
$quickmix
.=
'<input type="button" value="投入" onclick="AddMixElements('
.
$emix_arr
.
');"> '
;
$quickmix
.=
"<span class=''>"
.
parse_itemmix_resultshow
(
$rand_emix_fixlist
[
$key
][
'result'
])
.
"</span><br>"
;
$quickmix
.=
"<span class=''>"
.
parse_itemmix_resultshow
(
$rand_emix_fixlist
[
$key
][
'result'
])
.
"</span><br>"
;
...
...
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