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
d2992c8a
Commit
d2992c8a
authored
May 23, 2023
by
Nemo Ma
Committed by
GitHub
May 23, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #157 from hikawiier/waaagh
fix more
parents
56c08ae1
fb898d18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
include/game/clubslct.func.php
include/game/clubslct.func.php
+2
-1
include/game/item.func.php
include/game/item.func.php
+1
-1
include/game/revcombat.calc.php
include/game/revcombat.calc.php
+2
-2
include/news.func.php
include/news.func.php
+7
-6
No files found.
include/game/clubslct.func.php
View file @
d2992c8a
...
@@ -191,12 +191,13 @@ function lostclub(&$data=NULL)
...
@@ -191,12 +191,13 @@ function lostclub(&$data=NULL)
function
selectclub
(
$id
)
function
selectclub
(
$id
)
{
{
global
$name
,
$club
;
global
$name
,
$club
,
$udata
;
if
(
$club
!=
0
)
return
1
;
if
(
$club
!=
0
)
return
1
;
if
(
!
$id
)
return
2
;
if
(
!
$id
)
return
2
;
$t1_list
=
valid_getclublist_t1
(
$udata
);
$t1_list
=
valid_getclublist_t1
(
$udata
);
$t2_list
=
valid_getclublist_t2
(
$udata
);
$t2_list
=
valid_getclublist_t2
(
$udata
);
if
(
in_array
(
$id
,
$t1_list
)
||
in_array
(
$id
,
$t2_list
))
if
(
in_array
(
$id
,
$t1_list
)
||
in_array
(
$id
,
$t2_list
))
{
{
$club
=
$id
;
$club
=
$id
;
...
...
include/game/item.func.php
View file @
d2992c8a
...
@@ -966,7 +966,7 @@ function itemuse($itmn,&$data=NULL) {
...
@@ -966,7 +966,7 @@ function itemuse($itmn,&$data=NULL) {
$is
=
1
;
$is
=
1
;
$isk
=
''
;
$isk
=
''
;
}
}
$clbpara
[
'opened_pack'
]
=
$itm
;
//记录打开福袋
$clbpara
[
'opened_pack'
]
=
$
o
itm
;
//记录打开福袋
}
}
}
else
{
//一般礼品盒
}
else
{
//一般礼品盒
$file
=
config
(
'present'
,
$gamecfg
);
$file
=
config
(
'present'
,
$gamecfg
);
...
...
include/game/revcombat.calc.php
View file @
d2992c8a
...
@@ -12,8 +12,8 @@ namespace revcombat
...
@@ -12,8 +12,8 @@ namespace revcombat
if
(
!
empty
(
$pa
[
'wep_range'
])
&&
$pd
[
'wep_range'
]
>=
$pa
[
'wep_range'
])
return
1
;
if
(
!
empty
(
$pa
[
'wep_range'
])
&&
$pd
[
'wep_range'
]
>=
$pa
[
'wep_range'
])
return
1
;
# 鏖战状态下无视射程反击(爆系武器除外)
# 鏖战状态下无视射程反击(爆系武器除外)
if
((
isset
(
$pd
[
'is_dfight'
])
||
isset
(
$pa
[
'is_dfight'
]))
&&
!
empty
(
$pd
[
'wep_range'
]))
return
1
;
if
((
isset
(
$pd
[
'is_dfight'
])
||
isset
(
$pa
[
'is_dfight'
]))
&&
!
empty
(
$pd
[
'wep_range'
]))
return
1
;
#「直感」触发后可以超射程反击
:
#「直感」触发后可以超射程反击
(爆系武器除外)
if
(
isset
(
$pd
[
'skill_c2_intuit'
]))
if
(
isset
(
$pd
[
'skill_c2_intuit'
])
&&
!
empty
(
$pa
[
'wep_range'
])
)
{
{
$sk_dice
=
diceroll
(
99
);
$sk_dice
=
diceroll
(
99
);
$sk_lvl
=
get_skilllvl
(
'c2_intuit'
,
$pd
);
$sk_lvl
=
get_skilllvl
(
'c2_intuit'
,
$pd
);
...
...
include/news.func.php
View file @
d2992c8a
...
@@ -26,16 +26,17 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
...
@@ -26,16 +26,17 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
$old_nicknews
=
Array
$old_nicknews
=
Array
(
(
//使用道具发送的news统一不带头衔,以后要不要带以后再说
//使用道具发送的news统一不带头衔,以后要不要带以后再说
'teammake'
=>
'c'
,
'teammake'
=>
Array
(
'b'
,
'c'
)
,
'teamjoin'
=>
'c'
,
'teamjoin'
=>
Array
(
'b'
,
'c'
)
,
'teamquit'
=>
'c'
,
'teamquit'
=>
Array
(
'b'
,
'c'
)
,
'newgm'
=>
'd'
,
'newgm'
=>
'd'
,
'newpc'
=>
'd'
,
'newpc'
=>
'd'
,
'hack'
=>
'b'
,
'hack'
=>
'b'
,
'hack2'
=>
'b'
,
'hack2'
=>
'b'
,
'itemmix'
=>
'd'
,
//合成消息显示头衔太丑了
'syncmix'
=>
'c'
,
//'itemmix' => 'd',
'overmix'
=>
'c'
,
//'syncmix' => 'c',
//'overmix' => 'c',
'senditem'
=>
'd'
,
'senditem'
=>
'd'
,
'csl_wthchange'
=>
'c'
,
'csl_wthchange'
=>
'c'
,
'csl_hack'
=>
'b'
,
'csl_hack'
=>
'b'
,
...
...
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