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
32e0ab69
Commit
32e0ab69
authored
Dec 30, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 鱼眼凸
Note to myself, the original fish item is a reference from HXH...
parent
6e807b57
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
gamedata/cache/randomFSW_1.php
gamedata/cache/randomFSW_1.php
+1
-0
gamedata/cache/tooltip_1.php
gamedata/cache/tooltip_1.php
+1
-0
include/game/item.func.php
include/game/item.func.php
+10
-1
include/news.func.php
include/news.func.php
+2
-0
No files found.
gamedata/cache/randomFSW_1.php
View file @
32e0ab69
...
...
@@ -16,6 +16,7 @@ $jokeonothers = <<<EOT
[D3],🎲,1,1,,
[D6],🎲,1,1,,
✦【自律AI呼唤器】,Y,1,1,,
鱼眼凸,Y,1,1,,
EOT;
$superjoke
=
<<<EOT
...
...
gamedata/cache/tooltip_1.php
View file @
32e0ab69
...
...
@@ -49,6 +49,7 @@ $tps_name = Array
# 特殊道具
'武器师安雅的奖赏'
=>
Array
(
'title'
=>
"强化手中武器的效果值、耐久值,或者将类型转变为你更擅长的系别"
),
'凸眼鱼'
=>
Array
(
'title'
=>
"使用后可以销毁整个战场现有的尸体"
),
'鱼眼凸'
=>
Array
(
'title'
=>
"使用后可以将整个战场的尸体吸到你的位置,但后果自负!"
),
'杏仁豆腐的ID卡'
=>
Array
(
'title'
=>
"连斗后使用可以让全场NPC消失并进入『死斗阶段』"
),
'水果刀'
=>
Array
(
'title'
=>
"可以切水果。如果不会用可能会切到自己"
),
'探测器电池'
=>
Array
(
'title'
=>
"使用后可以为探测仪器供电"
),
...
...
include/game/item.func.php
View file @
32e0ab69
...
...
@@ -2377,7 +2377,16 @@ function itemuse($itmn,&$data=NULL) {
addnews
(
$now
,
'corpseclear'
,
$name
,
$cnum
,
$nick
);
$log
.=
"使用了<span class=
\"
yellow
\"
>
$itm
</span>。<br>突然刮起了一阵怪风,吹走了地上的
{
$cnum
}
具尸体!<br>"
;
$itms
--
;
$isk
=
$cnum
;
}
elseif
(
$itm
==
'鱼眼凸'
)
{
//global $db, $tablepre, $name,$now,$corpseprotect;
$tm
=
$now
-
$corpseprotect
;
//尸体保护
$db
->
query
(
"UPDATE
{
$tablepre
}
players SET pls='
$pls
' WHERE hp <= 0 AND endtime <=
$tm
"
);
$cnum
=
$db
->
affected_rows
();
addnews
(
$now
,
'corpsegather'
,
$name
,
$cnum
,
$nick
);
$log
.=
"使用了<span class=
\"
yellow
\"
>
$itm
</span>。<br>突然刮起了一阵怪风,将遍布全场的
{
$cnum
}
具尸体吹到了你所在的地方!<br>"
;
$rp
+=
diceroll
(
1024
);
$log
.=
"<span class=
\"
lime
\"
>这过于惨无人道了!</span><br>你觉得罪恶感爬上了你的脊梁!<br>"
;
$itms
--
;
$isk
=
$cnum
;
}
elseif
(
$itm
==
'天候棒'
)
{
//global $weather, $wthinfo, $name;
if
(
$weather
<=
13
)
...
...
include/news.func.php
View file @
32e0ab69
...
...
@@ -257,6 +257,8 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
$newsinfo
.=
"<li>
{
$hour
}
时
{
$min
}
分
{
$sec
}
秒,<span class=
\"
yellow
\"
>
{
$a
}
使用了
{
$b
}
,启动了死斗程序!</span><br>
\n
"
;
}
elseif
(
$news
==
'corpseclear'
)
{
$newsinfo
.=
"<li>
{
$hour
}
时
{
$min
}
分
{
$sec
}
秒,<span class=
\"
lime
\"
>
{
$a
}
使用了凸眼鱼,
{
$b
}
具尸体被吸走了!</span><br>
\n
"
;
}
elseif
(
$news
==
'corpsegather'
)
{
$newsinfo
.=
"<li>
{
$hour
}
时
{
$min
}
分
{
$sec
}
秒,<span class=
\"
lime
\"
>
{
$a
}
使用了鱼眼凸,将
{
$b
}
具尸体吸到了自己的位置!</span><br>
\n
"
;
}
elseif
(
$news
==
'wthchange'
)
{
$newsinfo
.=
"<li>
{
$hour
}
时
{
$min
}
分
{
$sec
}
秒,<span class=
\"
lime
\"
>
{
$a
}
使用了
{
$c
}
,天气变成了
{
$wthinfo
[
$b
]
}
!</span><br>
\n
"
;
}
elseif
(
$news
==
'wthfail'
)
{
...
...
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