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
1f2030f7
Commit
1f2030f7
authored
Dec 24, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interim
parent
ded7b89d
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
435 additions
and
26 deletions
+435
-26
gamedata/cache/addnpc_1.php
gamedata/cache/addnpc_1.php
+1
-1
gamedata/cache/tooltip_1.php
gamedata/cache/tooltip_1.php
+1
-0
gamedata/club21cfg.php
gamedata/club21cfg.php
+3
-3
include/game/fortune.func.php
include/game/fortune.func.php
+361
-0
include/game/item.func.php
include/game/item.func.php
+12
-0
templates/default/help.htm
templates/default/help.htm
+57
-22
No files found.
gamedata/cache/addnpc_1.php
View file @
1f2030f7
...
...
@@ -1157,7 +1157,7 @@ $anpcinfo = array
'teamPass'
=>
'L1g2t2D2k'
,
'gd'
=>
'f'
,
'pls'
=>
99
,
'mhp'
=>
480000
,
'mhp'
=>
322222
,
'msp'
=>
100
,
'att'
=>
400
,
'def'
=>
400
,
...
...
gamedata/cache/tooltip_1.php
View file @
1f2030f7
...
...
@@ -179,6 +179,7 @@ $tps_ik = Array
'ZB'
=>
Array
(
'class'
=>
'lime'
,
'title'
=>
"在没有决定称号的时候使用该物品,便可获得该对应称号。"
,),
'ZA'
=>
Array
(
'class'
=>
'neonyellow'
,
'title'
=>
"这个物品中似乎含有让你可以独自脱离幻境的方法……"
,),
'🥚'
=>
Array
(
'class'
=>
'purple'
,
'title'
=>
"通过提取物品产生的蛋状物品,看起来可以插回其他物品为之强化。"
,),
'🎲'
=>
Array
(
'class'
=>
'spitem'
,
'title'
=>
"投掷出骰子,来获得随机效果。"
,),
'🎆'
=>
Array
(
'class'
=>
'lime'
,
'title'
=>
"神秘存在身上掉落的碎片,似乎和你很匹配。"
,),
'🎆H'
=>
Array
(
'class'
=>
'lime'
,
'title'
=>
"神秘存在身上掉落的碎片,似乎和你很匹配。"
,),
'🎆V'
=>
Array
(
'class'
=>
'lime'
,
'title'
=>
"神秘存在身上掉落的碎片,似乎和你很匹配。"
,),
...
...
gamedata/club21cfg.php
View file @
1f2030f7
...
...
@@ -53,9 +53,9 @@
'y'
=>
320
,
'Z'
=>
100
,
'z'
=>
1
,
'-'
=>
800
,
'*'
=>
800
,
'+'
=>
800
,
'-'
=>
5001
,
'*'
=>
5001
,
'+'
=>
5001
,
'^'
=>
1200
,
'🧰'
=>
800
,
'🍎'
=>
1000
...
...
include/game/fortune.func.php
0 → 100644
View file @
1f2030f7
This diff is collapsed.
Click to expand it.
include/game/item.func.php
View file @
1f2030f7
...
...
@@ -1075,8 +1075,12 @@ function itemuse($itmn,&$data=NULL) {
$log
.=
"你使用了<span class=
\"
yellow
\"
>
{
$itm
}
</span>,但是没有发现陷阱。<br>"
;
}
}
elseif
(
strpos
(
$itmk
,
'🎲'
)
===
0
)
{
//invoke fortune cookie.
include_once
GAME_ROOT
.
'./include/game/fortune.func.php'
;
if
(
$itm
==
'[D3]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d3检定!<br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D3 - Randomly shuffle the effect and stamina of player's equipment and weapon.
//grabbing the effect and stamina of player equipment and weapon
//Does not affect "A" equipment
...
...
@@ -1130,6 +1134,7 @@ function itemuse($itmn,&$data=NULL) {
}
}
elseif
(
$itm
==
'[D6]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d6检定!<br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D6 - spawn a random item to player's hand.
$log
.=
'骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>'
;
//Populate an array desinating which kind of item this would turn into.
...
...
@@ -1170,6 +1175,7 @@ function itemuse($itmn,&$data=NULL) {
}
}
elseif
(
$itm
==
'[D10]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d10检定!<br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D10 - spawn a random item to player's hand - Enhanced D6 with a better item pool.
$log
.=
'骰子骨碌碌地旋转起来,变成了一件【空想道具】!<br>'
;
//Populate an array desinating which kind of item this would turn into.
...
...
@@ -1208,6 +1214,7 @@ function itemuse($itmn,&$data=NULL) {
}
}
elseif
(
$itm
==
'[D20]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d20检定!<br><br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D20 - Randomly fill player's bag with items from player's location.
//Get item from database.
$result
=
$db
->
query
(
"SELECT * FROM
{
$tablepre
}
mapitem WHERE pls = '
$pls
'"
);
...
...
@@ -1307,6 +1314,7 @@ function itemuse($itmn,&$data=NULL) {
}
}
elseif
(
$itm
==
'[D40]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d40检定!<br><br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D40 - Randomly fill player's bag with items from all mapitems. - Enhanced D20
//Get item from database.
$result
=
$db
->
query
(
"SELECT * FROM
{
$tablepre
}
mapitem"
);
...
...
@@ -1406,6 +1414,7 @@ function itemuse($itmn,&$data=NULL) {
}
}
elseif
(
$itm
==
'[D100]'
)
{
$log
.=
'你向天空投出了骰子!<br><br>进行1d100检定!<br><br>'
;
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//D100 - Shuffle the player's mhp, msp, mss, atk, def and all w values.
//Firstly, are you the chosen one?
$chosenone
=
1
;
...
...
@@ -1459,6 +1468,7 @@ function itemuse($itmn,&$data=NULL) {
//D1000 - Does all of the above, based on player's Yume Values.
//D3
if
(
$clbpara
[
'randver1'
]
>
64
){
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
$rand_e
=
array
(
$wepe
,
$wep2e
,
$arbe
,
$arhe
,
$arae
,
$arfe
);
$rand_s
=
array
(
$weps
,
$wep2s
,
$arbs
,
$arhs
,
$aras
,
$arfs
);
$etotal
=
round
((
$wepe
+
$wep2e
+
$arbe
+
$arhe
+
$arae
+
$arfe
)
/
2
);
...
...
@@ -1500,6 +1510,7 @@ function itemuse($itmn,&$data=NULL) {
//D20
if
(
$clbpara
[
'randver2'
]
>
128
){
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//Different from the normal D20, this pulls from entire mapitem table.
$result
=
$db
->
query
(
"SELECT * FROM
{
$tablepre
}
mapitem"
);
$itemnum
=
$db
->
num_rows
(
$result
);
...
...
@@ -1593,6 +1604,7 @@ function itemuse($itmn,&$data=NULL) {
//D100
if
(
$clbpara
[
'randver3'
]
<
1024
){
fortuneCookie1
(
diceroll
(
$clbpara
[
'randver1'
]));
//This dice is triple the power of original D100.
$chosenone
=
3
;
if
(
$clbpara
[
'randver1'
]
==
77
||
$clbpara
[
'randver1'
]
==
111
){
...
...
templates/default/help.htm
View file @
1f2030f7
...
...
@@ -65,7 +65,7 @@
<span><A
href=
"help.php#属性"
>
属性
</A></span>
</TD>
<TD
class=
"b3"
>
<span><A
href=
"help.php#
重击和必杀"
>
重击和必杀
</A></span>
<span><A
href=
"help.php#
战术界面"
>
战术界面
</A></span>
</TD>
</TR>
<TR>
...
...
@@ -502,19 +502,6 @@
<span
class=
"clan"
>
↑↑↑↑
</span>
</TD>
</TR>
<TR>
<TD
class=
"b2"
height=
20px
>
<span>
灵子姿态
</span>
</TD>
<TD
class=
"b3"
>
<span>
只会遭遇处在同姿态下的玩家和NPC,在种火NPC身边治疗·静养将获得加成。
</span>
</TD>
<TD
class=
"b3"
></TD>
<TD
class=
"b3"
></TD>
<TD
class=
"b3"
></TD>
<TD
class=
"b3"
></TD>
<TD
class=
"b3"
></TD>
</TR>
</TBODY>
</TABLE>
...
...
@@ -1438,14 +1425,62 @@
<br>
<br>
<br>
<p><a
name=
"重击和必杀"
><span
class=
"subtitle2"
>
13.重击和必杀
</span></a></p>
<p>
当怒气达到
<span
class=
"yellow"
>
30
</span>
时,攻击时可能发出
<span
class=
"yellow"
>
重击
</span>
,攻击伤害x1.5。
<BR>
如果内定称号是
<span
class=
"yellow"
>
“超能力者”
</span>
,则可以自由控制自己的怒气,释放出
<span
class=
"yellow"
>
“必杀技”
</span>
,此时攻击伤害x2。
<BR>
释放方式为在攻击时向对方
<span
class=
"yellow"
>
喊话
</span>
。
<BR>
释放必杀技会消耗
<span
class=
"yellow"
>
50
</span>
点怒气,如果不喊话则绝对不会释放必杀技。
<BR>
此外,如果怒气值积累到
<span
class=
"yellow"
>
255
</span>
,则会100%发出重击或者释放必杀技。
<BR>
NPC也会发出重击和必杀技,请随时小心。
</p>
<p><a
name=
"战术界面"
><span
class=
"subtitle2"
>
13.战术界面
</span></a></p>
<p>
在游戏界面上,可以切换你的战术界面。有一些事件也有可能强制切换你的战术界面。
<BR>
切换界面代表潜入虚拟幻境的另外一个层级,你将会看到不同的界面,遇到不同的NPC,并看到不同的物品提示等。
<BR>
也存在着必须先进入某个特定的界面,方可进行的动作或移动去的地图。
<BR>
在下文的“NPC简介”中,可以看到该NPC所在的界面。
<BR>
<BR>
除此之外,玩家也只能遇到在同一界面中的玩家。
<BR>
<BR>
目前,游戏中有着如下几种战术界面:
</p>
<table
cellSpacing=
0
cellPadding=
0
>
<tr>
<td
class=
"b1"
height=
20px
>
<span>
界面名称
</span>
</td>
<td
class=
"b1"
>
<span>
界面效果
</span>
</td>
<td
class=
"b1"
>
<span>
备注
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span
tooltip=
"林氏软件公司为你精心呈现。"
>
标准视界
</span>
</td>
<td
class=
"b3"
>
<span>
默认的一般战术界面。
</span>
</td>
<td
class=
"b3"
>
<span>
带有复古未来电子风格的环境。
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span
tooltip=
"来寻找……我们吧……"
>
灵子视界
</span>
</td>
<td
class=
"b3"
>
<span>
神秘的存在——种火正从这个视界涌出,来调查吧!
</span>
</td>
<td
class=
"b3"
>
<span>
带有冷冽风格的环境。
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span
tooltip=
"DRILLING IN PROGRESS"
>
模式⛆⛆⛆⛆
</span>
</td>
<td
class=
"b3"
>
<span>
⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆
</span>
</td>
<td
class=
"b3"
>
<span>
⛆⛆⛆⛆⛆崩坏……?⛆⛆⛆⛆⛆⛆⛆⛆⛆⛆
</span>
</td>
</tr>
</table>
<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