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
f8093969
Commit
f8093969
authored
May 13, 2023
by
hisuinohoshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix clubslct
修正: - 入场时选择称号没有加成的问题; - 入场物品依然会使用旧版称号生成器的问题; - 幻境解离计数成就二阶段描述文本有误的问题;
parent
b381b632
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
gamedata/cache/achievement_1.php
gamedata/cache/achievement_1.php
+1
-1
include/game/clubslct.func.php
include/game/clubslct.func.php
+10
-2
valid.php
valid.php
+2
-2
No files found.
gamedata/cache/achievement_1.php
View file @
f8093969
...
@@ -479,7 +479,7 @@ $ach_list = Array
...
@@ -479,7 +479,7 @@ $ach_list = Array
'c2'
=>
Array
(
1000
,
3000
,
76531
),
'c2'
=>
Array
(
1000
,
3000
,
76531
),
'desc'
=>
Array
(
'desc'
=>
Array
(
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离 1次</span>"
,
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离 1次</span>"
,
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离 7次</span>"
,
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离
1
7次</span>"
,
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离 77次</span>"
,
"<span tooltip=
\"
独自完成、或与团队共同达成结局时,均可达成此成就
\"
>参与达成结局:幻境解离 77次</span>"
,
),
),
),
),
...
...
include/game/clubslct.func.php
View file @
f8093969
...
@@ -133,8 +133,16 @@ function changeclub($clb,&$data=NULL)
...
@@ -133,8 +133,16 @@ function changeclub($clb,&$data=NULL)
function
updateskill
(
&
$data
=
NULL
)
function
updateskill
(
&
$data
=
NULL
)
{
{
//global $club, $wp, $wk, $wc, $wg, $wd, $wf, $money, $hp, $mhp, $att, $def ,$clbpara, $club_skillslist;
global
$club
,
$wp
,
$wk
,
$wc
,
$wg
,
$wd
,
$wf
,
$money
,
$hp
,
$mhp
,
$att
,
$def
,
$clbpara
,
$club_skillslist
;
global
$club_skillslist
;
if
(
!
isset
(
$data
))
{
global
$pdata
;
$data
=
&
$pdata
;
}
extract
(
$data
,
EXTR_REFS
);
if
(
$club
==
1
)
{
$wp
+=
50
;}
if
(
$club
==
1
)
{
$wp
+=
50
;}
if
(
$club
==
2
)
$wk
+=
50
;
if
(
$club
==
2
)
$wk
+=
50
;
if
(
$club
==
3
)
$wc
+=
50
;
if
(
$club
==
3
)
$wc
+=
50
;
...
...
valid.php
View file @
f8093969
...
@@ -165,7 +165,7 @@ if($mode == 'enter') {
...
@@ -165,7 +165,7 @@ if($mode == 'enter') {
/*if(strpos($wepk,'WG') === 0){
/*if(strpos($wepk,'WG') === 0){
$itm[3] = '手枪子弹'; $itmk[3] = 'GB'; $itme[3] = 1; $itms[3] = 12; $itmsk[3] = '';
$itm[3] = '手枪子弹'; $itmk[3] = 'GB'; $itme[3] = 1; $itms[3] = 12; $itmsk[3] = '';
}
*/
}
include_once GAME_ROOT.'./include/game/clubslct.func.php';
include_once GAME_ROOT.'./include/game/clubslct.func.php';
getclub($name,$tc1,$tc2,$tc3);
getclub($name,$tc1,$tc2,$tc3);
...
@@ -179,7 +179,7 @@ if($mode == 'enter') {
...
@@ -179,7 +179,7 @@ if($mode == 'enter') {
{
{
$itm[4] = '电池'; $itmk[4] = 'BE'; $itme[4] = 2; $itms[4] = 1; $itmsk[4] = '';
$itm[4] = '电池'; $itmk[4] = 'BE'; $itme[4] = 2; $itms[4] = 1; $itmsk[4] = '';
}
}
}
}
*/
// $itm[5] = '好人卡'; $itmk[5] = 'Y'; $itme[5] = 1; $itms[5] = 20; $itmsk[5] = '';
// $itm[5] = '好人卡'; $itmk[5] = 'Y'; $itme[5] = 1; $itms[5] = 20; $itmsk[5] = '';
//$itm[5] = '特别赠礼'; $itmk[5] = 'p'; $itme[5] = 1; $itms[5] = 1; $itmsk[5] = '';
//$itm[5] = '特别赠礼'; $itmk[5] = 'p'; $itme[5] = 1; $itms[5] = 1; $itmsk[5] = '';
// $shenzhuang = rand(1,10);
// $shenzhuang = rand(1,10);
...
...
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