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
40091124
Commit
40091124
authored
Jan 24, 2023
by
hisuinohoshi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beginning' into waaagh
parents
017671f5
ebd4f717
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
include/game/item.func.php
include/game/item.func.php
+6
-1
No files found.
include/game/item.func.php
View file @
40091124
...
...
@@ -1774,10 +1774,14 @@ function itemuse($itmn) {
}
elseif
(
$itmk
==
'ZB'
){
//社团卡
if
(
$club
)
{
global
$db
,
$tablepre
;
$log
.=
"你已经是有身份的人了!不能再使用称号卡。<br>"
;
$db
->
query
(
"INSERT INTO
{
$tablepre
}
shopitem (kind,num,price,area,item,itmk,itme,itms,itmsk) VALUES ('18','1','20','0','
$itm
','
$itmk
','
$itme
','
$itms
','
$itmsk
')"
);
$log
.=
"<span class='yellow'>
$itm
</span>像是有生命一般从你的手上脱离,飞回了商店!"
;
}
//处理不能成为合法社团的情况
if
(
$itme
==
15
){
//L5状态
else
if
(
$itme
==
15
){
//L5状态
global
$wp
,
$wk
,
$wg
,
$wc
,
$wd
,
$wf
,
$club
,
$bid
,
$att
,
$def
;
$log
.=
"【DEBUG】进入L5状态<br>"
;
$log
.=
'你突然感觉到一种不可思议的力量贯通全身!<br>'
;
...
...
@@ -1829,6 +1833,7 @@ function itemuse($itmn) {
}
else
{
//直接将社团卡的效果写入玩家club
$club
=
$itme
;
$log
.=
"你的称号被改动了!"
;
}
//销毁物品
$itm
=
$itmk
=
$itmsk
=
''
;
...
...
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