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
c253c786
Commit
c253c786
authored
Mar 19, 2023
by
Nemo Ma
Committed by
GitHub
Mar 19, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71 from hikawiier/waaagh
update help.htm
parents
cb7c556b
c454c6c5
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
159 additions
and
643 deletions
+159
-643
gamedata/cache/clubskills_1.php
gamedata/cache/clubskills_1.php
+1
-1
help.php
help.php
+1
-1
include/game.func.php
include/game.func.php
+39
-122
include/game/clubslct.func.php
include/game/clubslct.func.php
+1
-1
include/game/item.func.php
include/game/item.func.php
+6
-6
include/game/itemplace.func.php
include/game/itemplace.func.php
+1
-5
include/game/revcombat.func.php
include/game/revcombat.func.php
+3
-1
include/global.func.php
include/global.func.php
+0
-67
templates/default/help.htm
templates/default/help.htm
+67
-436
templates/default/npcinfohelp.htm
templates/default/npcinfohelp.htm
+10
-2
templates/default/skillhelp.htm
templates/default/skillhelp.htm
+29
-0
templates/default/skillpage.htm
templates/default/skillpage.htm
+1
-1
No files found.
gamedata/cache/clubskills_1.php
View file @
c253c786
...
@@ -12,7 +12,7 @@ $club_skillslist = Array
...
@@ -12,7 +12,7 @@ $club_skillslist = Array
4
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c4_stable'
,
'c4_break'
,
'c4_aiming'
,
'c4_loot'
,
'c4_roar'
,
'c4_sniper'
,
'c4_headshot'
),
#'狙击鹰眼',
4
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c4_stable'
,
'c4_break'
,
'c4_aiming'
,
'c4_loot'
,
'c4_roar'
,
'c4_sniper'
,
'c4_headshot'
),
#'狙击鹰眼',
5
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c5_sneak'
,
'c5_caution'
,
'c5_review'
,
'c5_focus'
,
'c5_higheg'
,
'c5_double'
),
#'拆弹专家',
5
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c5_sneak'
,
'c5_caution'
,
'c5_review'
,
'c5_focus'
,
'c5_higheg'
,
'c5_double'
),
#'拆弹专家',
6
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c6_godluck'
,
'c6_godsend'
,
'c6_godbless'
,
'c6_godpow'
,
'c6_godeyes'
,
'c6_justice'
),
#'宛如疾风',
6
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c6_godluck'
,
'c6_godsend'
,
'c6_godbless'
,
'c6_godpow'
,
'c6_godeyes'
,
'c6_justice'
),
#'宛如疾风',
7
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c7_radar'
,
'c7_shield'
,
'c7_electric'
,
'c7_field'
,
'c7_
emp'
,
'c7_overload
'
),
#'锡安成员',
7
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c7_radar'
,
'c7_shield'
,
'c7_electric'
,
'c7_field'
,
'c7_
overload'
,
'c7_emp
'
),
#'锡安成员',
8
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
),
#'黑衣组织',
8
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
),
#'黑衣组织',
9
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c9_spirit'
,
'c9_lb'
,
'c9_iceheart'
,
'c9_charge'
,
'c9_heartfire'
),
#'超能力者',
9
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
,
'c9_spirit'
,
'c9_lb'
,
'c9_iceheart'
,
'c9_charge'
,
'c9_heartfire'
),
#'超能力者',
10
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
),
#'高速成长',
10
=>
Array
(
's_hp'
,
's_ad'
,
'f_heal'
),
#'高速成长',
...
...
help.php
View file @
c253c786
...
@@ -258,7 +258,7 @@ A:active {
...
@@ -258,7 +258,7 @@ A:active {
P{ line-height:16px
P{ line-height:16px
}
}
DIV {
DIV
.help
{
PADDING-LEFT: 1em;PADDING-right: 1em
PADDING-LEFT: 1em;PADDING-right: 1em
}
}
...
...
include/game.func.php
View file @
c253c786
...
@@ -470,95 +470,6 @@ function init_clubskillsdata($sk,$data)
...
@@ -470,95 +470,6 @@ function init_clubskillsdata($sk,$data)
elseif
(
array_key_exists
(
$sk
,
$cskills
))
elseif
(
array_key_exists
(
$sk
,
$cskills
))
{
{
return
$sk
;
return
$sk
;
/*global $cskills;
# 要检查的技能没有登记过 视为无效技能
if(!array_key_exists($sk,$cskills)) return 0;
if(!empty($data)) $data['clbpara'] = get_clbpara($data['clbpara']);
# 获取技能信息
$cskill = $cskills[$sk];
$sk_name = $cskill['name'];
# 技能存在等级时
if(isset($cskill['maxlvl']))
{
$max_lvl_flag = 0;
$now_clvl = get_skilllvl($sk,$data);
if($now_clvl >= $cskill['maxlvl']) $max_lvl_flag = 1;
}
# 获取技能描述
$sk_desc = parse_skilldesc($sk,$data);
# 生成技能模板
$sk_temp = <<<EOT
<tr>
<td class="b1" width="40">
<span>{$sk_name}</span>
</td>
<td>
EOT;
# 检查技能是否存在解锁条件
if(!empty($cskill['unlock']))
{
# 检查技能是否解锁,返回值不为0则未解锁
$unlock_flag = check_skill_unlock($sk,$data);
if($unlock_flag)
{
if(is_array($unlock_flag))
{
$unlock_cd = $unlock_flag[1]; $unlock_flag = $unlock_flag[0];
}
$unlock_flag = is_array($cskill['lockdesc']) ? $cskill['lockdesc'][$unlock_flag] : $cskill['lockdesc'];
if(isset($unlock_cd)) $unlock_flag = str_replace("[:cd:]","$unlock_cd",$unlock_flag);
$sk_temp .= <<<EOT
<div style="position:relative; height:100%; width:100%;" onmouseover="skill_unacquired_mouseover.call(this,event)" onmouseout="skill_unacquired_mouseout.call(this,event)">
<div class="skill_unacquired">
EOT;
}
}
$sk_temp .= <<<EOT
<table class="skilltable">
<tr>
<td class="skilldesc_left b3">
<span class="skilldesc">
{$sk_desc}
</span>
</td>
<td class="skilldesc_right b3"> \r
EOT;
# 检查技能是否存在复数输入框
if(!empty($cskill['num_input']) && empty($max_lvl_flag))
{
$sk_temp .= "<input type=\"number\" name=\"upgskill_{$sk}_nums\" style=\"width:40px\" value=\"1\"> \r";
}
# 检查技能是否存在操作按钮
if(!empty($cskill['input']) && empty($max_lvl_flag))
{
$sk_input = $cskill['input'];
$sk_temp .= "<input type=\"button\" onclick=\"$('mode').value='revskpts';$('command').value='upgskill_{$sk}';postCmd('gamecmd','command.php');this.disabled=true;\" value=\"{$sk_input}\"> \r";
}
$sk_temp .= <<<EOT
</td>
</tr>
</table>
EOT;
if(!empty($cskill['unlock']) && $unlock_flag)
{
$sk_temp .= <<<EOT
</div>
<div class="skill_unacquired_hint">
<table class="skilltable">
<tr>
EOT;
$sk_temp .= "<td valign=\"center\" align=\"center\"><span class=\"yellow\">{$unlock_flag}</span></td>";
$sk_temp .= "
</tr>
</table>
</div>
</div>";
}
$sk_temp .= "</tr>";
//$htm_sk_dir = GAME_ROOT.TPLDIR.'/'.$sk_dir.'.htm';
//writeover($htm_sk_dir,$sk_temp);
//return $sk_dir;
return $sk_temp;*/
}
}
return
0
;
return
0
;
}
}
...
@@ -612,6 +523,45 @@ function check_skilllasttimes(&$data)
...
@@ -612,6 +523,45 @@ function check_skilllasttimes(&$data)
return
$data
[
'pure_flag'
];
return
$data
[
'pure_flag'
];
}
}
function
create_dummy_playerdata
(
$clb
=
0
)
{
$data
=
update_db_player_structure
(
1
);
foreach
(
$data
as
$key
=>
$type
)
{
if
(
strpos
(
$type
,
'int'
)
!==
false
)
$v
=
0
;
else
$v
=
''
;
$data
[
$key
]
=
$v
;
}
$data
[
'clbpara'
]
=
get_clbpara
(
$data
[
'clbpara'
]);
if
(
!
empty
(
$clb
))
{
include_once
GAME_ROOT
.
'./include/game/clubslct.func.php'
;
changeclub
(
$clb
,
$data
);
switch
(
$clb
)
{
case
1
:
$data
[
'wepk'
]
=
'WP'
;
break
;
case
2
:
$data
[
'wepk'
]
=
'WK'
;
break
;
case
3
:
$data
[
'wepk'
]
=
'WC'
;
break
;
case
4
:
$data
[
'wepk'
]
=
'WG'
;
break
;
case
5
:
$data
[
'wepk'
]
=
'WD'
;
break
;
case
9
:
$data
[
'wepk'
]
=
'WF'
;
break
;
default
:
$data
[
'wepk'
]
=
'WN'
;
}
}
return
$data
;
}
//通过名字抓取指定玩家数据,只能抓玩家
//通过名字抓取指定玩家数据,只能抓玩家
function
fetch_playerdata_by_name
(
$n
)
function
fetch_playerdata_by_name
(
$n
)
{
{
...
@@ -625,7 +575,6 @@ function fetch_playerdata_by_name($n)
...
@@ -625,7 +575,6 @@ function fetch_playerdata_by_name($n)
reload_set_items
(
$pdata
);
reload_set_items
(
$pdata
);
return
$pdata
;
return
$pdata
;
}
}
//通过pid抓取指定玩家/NPC数据
//通过pid抓取指定玩家/NPC数据
function
fetch_playerdata_by_pid
(
$pid
)
function
fetch_playerdata_by_pid
(
$pid
)
{
{
...
@@ -639,26 +588,6 @@ function fetch_playerdata_by_pid($pid)
...
@@ -639,26 +588,6 @@ function fetch_playerdata_by_pid($pid)
reload_set_items
(
$pdata
);
reload_set_items
(
$pdata
);
return
$pdata
;
return
$pdata
;
}
}
//用于读取当前玩家数据的数组结构(不进行过滤)
function
current_player_load
(){
$data
=
update_db_player_structure
();
foreach
(
$data
as
$key
)
{
global
$$key
;
$data
[
$key
]
=
$$key
;
}
return
$data
;
}
//用于将当前玩家数据保存至数据库(会进行过滤)
function
current_player_save
(){
global
$db
,
$tablepre
;
$pdata
=
current_player_load
();
$pdata
=
player_format_with_db_structure
(
$pdata
);
$pid
=
$pdata
[
'pid'
];
$db
->
array_update
(
"
{
$tablepre
}
players"
,
$pdata
,
"pid='
$pid
'"
);
if
(
!
empty
(
$pdata
[
'clbpara'
]))
$pdata
[
'clbpara'
]
=
get_clbpara
(
$pdata
[
'clbpara'
]);
return
$pdata
;
}
//用于将指定player数据存回数据库
//用于将指定player数据存回数据库
function
player_save
(
$data
){
function
player_save
(
$data
){
global
$db
,
$tablepre
;
global
$db
,
$tablepre
;
...
@@ -674,18 +603,6 @@ function player_save($data){
...
@@ -674,18 +603,6 @@ function player_save($data){
}
}
return
;
return
;
}
}
//用于刷新当前玩家数据(待修改)
function
player_load
(
$data
)
{
$ndata
=
player_format_with_db_structure
(
$data
);
foreach
(
$ndata
as
$key
=>
$value
)
{
global
$$key
;
$$key
=
$value
;
if
(
$key
==
'clbpara'
&&
!
empty
(
$$key
))
$$key
=
get_clbpara
(
$$key
);
}
return
;
}
function
w_save
(
$id
){
function
w_save
(
$id
){
global
$db
,
$tablepre
,
$w_name
,
$w_pass
,
$w_type
,
$w_endtime
,
$w_deathtime
,
$w_gd
,
$w_sNo
,
$w_icon
,
$w_club
,
$w_hp
,
$w_mhp
,
$w_sp
,
$w_msp
,
$w_att
,
$w_def
,
$w_pls
,
$w_lvl
,
$w_exp
,
$w_money
,
$w_bid
,
$w_inf
,
$w_rage
,
$w_pose
,
$w_tactic
,
$w_killnum
,
$w_state
,
$w_wp
,
$w_wk
,
$w_wg
,
$w_wc
,
$w_wd
,
$w_wf
,
$w_teamID
,
$w_teamPass
,
$w_wep
,
$w_wepk
,
$w_wepe
,
$w_weps
,
$w_arb
,
$w_arbk
,
$w_arbe
,
$w_arbs
,
$w_arh
,
$w_arhk
,
$w_arhe
,
$w_arhs
,
$w_ara
,
$w_arak
,
$w_arae
,
$w_aras
,
$w_arf
,
$w_arfk
,
$w_arfe
,
$w_arfs
,
$w_art
,
$w_artk
,
$w_arte
,
$w_arts
,
$w_itm0
,
$w_itmk0
,
$w_itme0
,
$w_itms0
,
$w_itm1
,
$w_itmk1
,
$w_itme1
,
$w_itms1
,
$w_itm2
,
$w_itmk2
,
$w_itme2
,
$w_itms2
,
$w_itm3
,
$w_itmk3
,
$w_itme3
,
$w_itms3
,
$w_itm4
,
$w_itmk4
,
$w_itme4
,
$w_itms4
,
$w_itm5
,
$w_itmk5
,
$w_itme5
,
$w_itms5
,
$w_itm6
,
$w_itmk6
,
$w_itme6
,
$w_itms6
,
$w_wepsk
,
$w_arbsk
,
$w_arhsk
,
$w_arask
,
$w_arfsk
,
$w_artsk
,
$w_itmsk0
,
$w_itmsk1
,
$w_itmsk2
,
$w_itmsk3
,
$w_itmsk4
,
$w_itmsk5
,
$w_itmsk6
,
$w_rp
,
$w_action
,
$w_achievement
,
$w_skillpoint
;
global
$db
,
$tablepre
,
$w_name
,
$w_pass
,
$w_type
,
$w_endtime
,
$w_deathtime
,
$w_gd
,
$w_sNo
,
$w_icon
,
$w_club
,
$w_hp
,
$w_mhp
,
$w_sp
,
$w_msp
,
$w_att
,
$w_def
,
$w_pls
,
$w_lvl
,
$w_exp
,
$w_money
,
$w_bid
,
$w_inf
,
$w_rage
,
$w_pose
,
$w_tactic
,
$w_killnum
,
$w_state
,
$w_wp
,
$w_wk
,
$w_wg
,
$w_wc
,
$w_wd
,
$w_wf
,
$w_teamID
,
$w_teamPass
,
$w_wep
,
$w_wepk
,
$w_wepe
,
$w_weps
,
$w_arb
,
$w_arbk
,
$w_arbe
,
$w_arbs
,
$w_arh
,
$w_arhk
,
$w_arhe
,
$w_arhs
,
$w_ara
,
$w_arak
,
$w_arae
,
$w_aras
,
$w_arf
,
$w_arfk
,
$w_arfe
,
$w_arfs
,
$w_art
,
$w_artk
,
$w_arte
,
$w_arts
,
$w_itm0
,
$w_itmk0
,
$w_itme0
,
$w_itms0
,
$w_itm1
,
$w_itmk1
,
$w_itme1
,
$w_itms1
,
$w_itm2
,
$w_itmk2
,
$w_itme2
,
$w_itms2
,
$w_itm3
,
$w_itmk3
,
$w_itme3
,
$w_itms3
,
$w_itm4
,
$w_itmk4
,
$w_itme4
,
$w_itms4
,
$w_itm5
,
$w_itmk5
,
$w_itme5
,
$w_itms5
,
$w_itm6
,
$w_itmk6
,
$w_itme6
,
$w_itms6
,
$w_wepsk
,
$w_arbsk
,
$w_arhsk
,
$w_arask
,
$w_arfsk
,
$w_artsk
,
$w_itmsk0
,
$w_itmsk1
,
$w_itmsk2
,
$w_itmsk3
,
$w_itmsk4
,
$w_itmsk5
,
$w_itmsk6
,
$w_rp
,
$w_action
,
$w_achievement
,
$w_skillpoint
;
...
...
include/game/clubslct.func.php
View file @
c253c786
...
@@ -77,7 +77,7 @@ function updateskill(&$data=NULL)
...
@@ -77,7 +77,7 @@ function updateskill(&$data=NULL)
if
(
$club
==
2
)
$wk
+=
50
;
if
(
$club
==
2
)
$wk
+=
50
;
if
(
$club
==
3
)
$wc
+=
50
;
if
(
$club
==
3
)
$wc
+=
50
;
if
(
$club
==
4
)
$wg
+=
50
;
if
(
$club
==
4
)
$wg
+=
50
;
if
(
$club
==
5
)
$wd
+=
4
0
;
if
(
$club
==
5
)
$wd
+=
5
0
;
if
(
$club
==
9
)
$wf
+=
40
;
if
(
$club
==
9
)
$wf
+=
40
;
if
(
$club
==
11
)
$money
+=
680
;
if
(
$club
==
11
)
$money
+=
680
;
if
(
$club
==
16
)
{
$wp
+=
25
;
$wk
+=
25
;
$wc
+=
25
;
$wg
+=
25
;
$wd
+=
25
;
$wf
+=
25
;
}
if
(
$club
==
16
)
{
$wp
+=
25
;
$wk
+=
25
;
$wc
+=
25
;
$wg
+=
25
;
$wd
+=
25
;
$wf
+=
25
;
}
...
...
include/game/item.func.php
View file @
c253c786
...
@@ -1396,7 +1396,7 @@ function itemuse($itmn) {
...
@@ -1396,7 +1396,7 @@ function itemuse($itmn) {
$log
.=
'你突然感觉到一种不可思议的力量贯通全身!<br>'
;
$log
.=
'你突然感觉到一种不可思议的力量贯通全身!<br>'
;
$wp
=
$wk
=
$wg
=
$wc
=
$wd
=
$wf
=
8010
;
$wp
=
$wk
=
$wg
=
$wc
=
$wd
=
$wf
=
8010
;
$att
=
$def
=
13337
;
$att
=
$def
=
13337
;
changeclub
(
15
);
changeclub
(
15
,
$pdata
);
addnews
(
$now
,
'suisidefail'
,
$nickinfo
.
' '
.
$name
);
addnews
(
$now
,
'suisidefail'
,
$nickinfo
.
' '
.
$name
);
$itm
=
$itmk
=
$itmsk
=
''
;
$itm
=
$itmk
=
$itmsk
=
''
;
$itme
=
$itms
=
0
;
$itme
=
$itms
=
0
;
...
@@ -1482,7 +1482,7 @@ function itemuse($itmn) {
...
@@ -1482,7 +1482,7 @@ function itemuse($itmn) {
include_once
GAME_ROOT
.
'./include/state.func.php'
;
include_once
GAME_ROOT
.
'./include/state.func.php'
;
death
(
'SCP'
,
''
,
0
,
$itm
);
death
(
'SCP'
,
''
,
0
,
$itm
);
}
else
{
}
else
{
changeclub
(
17
);
changeclub
(
17
,
$pdata
);
addnews
(
$now
,
'notworthit'
,
$nickinfo
.
' '
.
$name
);
addnews
(
$now
,
'notworthit'
,
$nickinfo
.
' '
.
$name
);
}
}
$itms
--
;
$itms
--
;
...
@@ -1863,7 +1863,7 @@ function itemuse($itmn) {
...
@@ -1863,7 +1863,7 @@ function itemuse($itmn) {
$log
.=
'你突然感觉到一种不可思议的力量贯通全身!<br>'
;
$log
.=
'你突然感觉到一种不可思议的力量贯通全身!<br>'
;
$wp
=
$wk
=
$wg
=
$wc
=
$wd
=
$wf
=
8010
;
$wp
=
$wk
=
$wg
=
$wc
=
$wd
=
$wf
=
8010
;
$att
=
$def
=
13337
;
$att
=
$def
=
13337
;
changeclub
(
15
);
changeclub
(
15
,
$pdata
);
addnews
(
$now
,
'suisidefail'
,
$nickinfo
.
' '
.
$name
);
addnews
(
$now
,
'suisidefail'
,
$nickinfo
.
' '
.
$name
);
}
}
elseif
(
$itme
==
17
||
$itme
>
22
){
//状态机社团以及不存在的社团
elseif
(
$itme
==
17
||
$itme
>
22
){
//状态机社团以及不存在的社团
...
@@ -1892,7 +1892,7 @@ function itemuse($itmn) {
...
@@ -1892,7 +1892,7 @@ function itemuse($itmn) {
【其之零】一切都是数字的假象而已。<br>
【其之零】一切都是数字的假象而已。<br>
正在你回味着这句话的时候,一切已经恢复如初。"
;
正在你回味着这句话的时候,一切已经恢复如初。"
;
//社团变更
//社团变更
changeclub
(
20
);
changeclub
(
20
,
$pdata
);
//获取初始元素与第一条配方
//获取初始元素与第一条配方
$dice
=
rand
(
0
,
5
);
$dice
=
rand
(
0
,
5
);
global
$
{
'element'
.
$dice
},
$clbpara
;
global
$
{
'element'
.
$dice
},
$clbpara
;
...
@@ -1908,7 +1908,7 @@ function itemuse($itmn) {
...
@@ -1908,7 +1908,7 @@ function itemuse($itmn) {
$log
.=
"再等等吧……<br>"
;
$log
.=
"再等等吧……<br>"
;
}
}
else
{
//直接将社团卡的效果写入玩家club
else
{
//直接将社团卡的效果写入玩家club
changeclub
(
$itme
);
changeclub
(
$itme
,
$pdata
);
$log
.=
"你的称号被改动了!"
;
$log
.=
"你的称号被改动了!"
;
}
}
//销毁物品
//销毁物品
...
@@ -1990,7 +1990,7 @@ function itemuse($itmn) {
...
@@ -1990,7 +1990,7 @@ function itemuse($itmn) {
$log
.=
"<br>获得了<span class='sparkle'>
{
$sparkle
}
元素口袋
{
$sparkle
}
</span>!<br>"
;
$log
.=
"<br>获得了<span class='sparkle'>
{
$sparkle
}
元素口袋
{
$sparkle
}
</span>!<br>"
;
$log
.=
"……这到底是怎么一回事呢?<br><br>"
;
$log
.=
"……这到底是怎么一回事呢?<br><br>"
;
//社团变更
//社团变更
changeclub
(
20
);
changeclub
(
20
,
$pdata
);
//获取初始元素与第一条配方
//获取初始元素与第一条配方
$dice
=
rand
(
0
,
5
);
$dice
=
rand
(
0
,
5
);
global
$
{
'element'
.
$dice
};
global
$
{
'element'
.
$dice
};
...
...
include/game/itemplace.func.php
View file @
c253c786
...
@@ -37,7 +37,7 @@ function get_npc_helpinfo($nlist,$tooltip=1)
...
@@ -37,7 +37,7 @@ function get_npc_helpinfo($nlist,$tooltip=1)
break
;
break
;
}
}
}
}
if
(
$snpc
[
'gd'
]
==
'm'
||
$snpc
[
'gd'
]
==
'f'
)
if
(
isset
(
$snpc
[
'gd'
])
)
{
{
$snpc
[
'gd'
]
=
$snpc
[
'gd'
]
==
'm'
?
'男'
:
'女'
;
$snpc
[
'gd'
]
=
$snpc
[
'gd'
]
==
'm'
?
'男'
:
'女'
;
}
}
...
@@ -85,10 +85,6 @@ function get_npc_helpinfo($nlist,$tooltip=1)
...
@@ -85,10 +85,6 @@ function get_npc_helpinfo($nlist,$tooltip=1)
if
(
!
empty
(
$snpc
[
$k_value
]))
$snpc
[
$k_value
]
=
parse_info_desc
(
$snpc
[
$k_value
],
'k'
);
if
(
!
empty
(
$snpc
[
$k_value
]))
$snpc
[
$k_value
]
=
parse_info_desc
(
$snpc
[
$k_value
],
'k'
);
}
}
}
}
else
{
$snpc
[
$t1
.
$t2
]
=
'-'
;
}
}
}
$tnlist
[
$i
][
$tsub
][
$n
]
=
$snpc
;
$tnlist
[
$i
][
$tsub
][
$n
]
=
$snpc
;
unset
(
$snpc
);
unset
(
$snpc
);
...
...
include/game/revcombat.func.php
View file @
c253c786
...
@@ -1144,8 +1144,10 @@
...
@@ -1144,8 +1144,10 @@
if
(
$skname
==
'all'
)
{
if
(
$skname
==
'all'
)
{
$lvupskill
+=
rand
(
2
,
4
);
$lvupskill
+=
rand
(
2
,
4
);
}
elseif
(
$skname
==
'wd'
||
$skname
==
'wf'
)
{
}
elseif
(
$skname
==
'wf'
)
{
$lvupskill
+=
rand
(
3
,
5
);
$lvupskill
+=
rand
(
3
,
5
);
}
elseif
(
$skname
==
'wd'
)
{
$lvupskill
+=
rand
(
6
,
8
);
}
elseif
(
$skname
){
}
elseif
(
$skname
){
$lvupskill
+=
rand
(
4
,
6
);
$lvupskill
+=
rand
(
4
,
6
);
}
}
...
...
include/global.func.php
View file @
c253c786
...
@@ -669,73 +669,6 @@ function parse_info_desc($info,$type,$vars='',$short=0)
...
@@ -669,73 +669,6 @@ function parse_info_desc($info,$type,$vars='',$short=0)
return
$info
;
return
$info
;
}
}
//为显示在主界面、尸体发现界面、游戏帮助界面的道具名、道具类、道具属性添加额外描述
//传入$n=道具名/类/属性;$t='m'(使用名称数组)/'k'(类别)/'sk'(属性);$short=1(传入的$n为数组情况下才有效,缩写属性);$class(如果传入的$n没有匹配的样式,则应用该样式)
function
parse_itm_desc
(
$n
,
$t
,
$s
=
0
,
$c
=
NULL
)
{
global
$iteminfo
,
$itemspkinfo
,
$cskills
;
global
$tps_name
,
$tps_ik
,
$tps_isk
,
$tps_names
;
$span
=
"<span "
;
$p1
=
"tooltip=
\"
"
;
$p2
=
"class=
\"
"
;
$ret1
=
''
;
$ret2
=
''
;
$ret
=
''
;
switch
(
$t
)
{
//处理类别
case
$t
==
'k'
:
if
(
isset
(
$tps_ik
[
$n
][
'title'
]))
$ret1
=
$tps_ik
[
$n
][
'title'
]
.
"
\"
"
;
if
(
isset
(
$tps_ik
[
$n
][
'class'
]))
$ret2
=
$tps_ik
[
$n
][
'class'
]
.
"
\"
"
;
$n
=
$iteminfo
[
$n
];
break
;
//处理属性
case
$t
==
'sk'
:
if
(
$short
&&
is_array
(
$n
)
&&
count
(
$n
)
>
1
)
{
$sk1
=
$itemspkinfo
[
current
(
$n
)];
$sk2
=
$itemspkinfo
[
end
(
$n
)];
$skn
=
''
;
foreach
(
$n
as
$sk_value
)
{
if
(
!
empty
(
$skn
))
$skn
.=
'+'
.
$itemspkinfo
[
$sk_value
];
else
$skn
=
$itemspkinfo
[
$sk_value
];
}
$ret1
=
$skn
;
$n
=
$sk1
.
'+...+'
.
$sk2
;
$ret1
.=
"
\"
"
;
}
else
{
if
(
isset
(
$tps_isk
[
$n
][
'title'
]))
$ret1
=
$tps_isk
[
$n
][
'title'
]
.
"
\"
"
;
if
(
isset
(
$tps_isk
[
$n
][
'class'
]))
$ret2
=
$tps_isk
[
$n
][
'class'
]
.
"
\"
"
;
$n
=
$itemspkinfo
[
$n
];
}
break
;
//处理名字
case
$t
==
'm'
:
$fn
=
preg_replace
(
'/锋利的|电气|毒性|\[.*\]|-改/'
,
''
,
$n
);
if
(
isset
(
$tps_name
[
$fn
]))
{
if
(
is_array
(
$tps_name
[
$fn
]))
{
if
(
isset
(
$tps_name
[
$fn
][
'title'
]))
$ret1
=
$tps_name
[
$fn
][
'title'
]
.
"
\"
"
;
if
(
isset
(
$tps_name
[
$fn
][
'class'
]))
$ret2
=
$tps_name
[
$fn
][
'class'
]
.
"
\"
"
;
}
elseif
(
isset
(
$tps_names
[
$tps_name
[
$fn
]]))
{
//使用可复用描述 越来越离谱了
if
(
isset
(
$tps_names
[
$tps_name
[
$fn
]][
'title'
]))
$ret1
=
$tps_names
[
$tps_name
[
$fn
]][
'title'
]
.
"
\"
"
;
if
(
isset
(
$tps_names
[
$tps_name
[
$fn
]][
'class'
]))
$ret2
=
$tps_names
[
$tps_name
[
$fn
]][
'class'
]
.
"
\"
"
;
}
}
break
;
}
$ret
=
$span
;
if
(
!
empty
(
$ret1
))
$ret
.=
$p1
.
$ret1
;
if
(
isset
(
$c
))
{
$ret2
=
$c
.
"
\"
"
;
$ret
.=
$p2
.
$ret2
;
}
elseif
(
!
empty
(
$ret2
))
{
$ret
.=
$p2
.
$ret2
;
}
$ret
.=
">"
.
$n
.
"</span>"
;
return
$ret
;
}
//----------------------------------------
//----------------------------------------
// 字符串处理
// 字符串处理
//----------------------------------------
//----------------------------------------
...
...
templates/default/help.htm
View file @
c253c786
...
@@ -109,7 +109,8 @@
...
@@ -109,7 +109,8 @@
</TBODY>
</TBODY>
</TABLE>
</TABLE>
<HR>
<HR>
<div
align=
"left"
>
{template skillhelp}
<div
align=
"left"
style=
"text-align: left; PADDING-LEFT: 2em;PADDING-right: 2em"
>
<p><span
class=
"subtitle2"
>
写在前面的话
</span></p>
<p><span
class=
"subtitle2"
>
写在前面的话
</span></p>
<p>
作为一款网页游戏,BR大逃杀也算是有点年头的东西了。
<br>
<p>
作为一款网页游戏,BR大逃杀也算是有点年头的东西了。
<br>
...
@@ -1622,21 +1623,23 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1622,21 +1623,23 @@ NPC也会发出重击和必杀技,请随时小心。</p>
内定称号分为“一般”,“特殊”以及“道具”三种类型。
<BR>
内定称号分为“一般”,“特殊”以及“道具”三种类型。
<BR>
一般内定称号增加熟练度,获得几率较高;特殊内定称号会赋予玩家特殊能力,获得几率较低。
<BR>
一般内定称号增加熟练度,获得几率较高;特殊内定称号会赋予玩家特殊能力,获得几率较低。
<BR>
道具类型的称号需要使用特殊的道具,或完成特殊的步骤后才能获得,是改变了游戏根本机制的上级者向玩法。
<BR>
道具类型的称号需要使用特殊的道具,或完成特殊的步骤后才能获得,是改变了游戏根本机制的上级者向玩法。
<BR>
内定称号对玩家的影响如下表:
</p>
<p>
此外,玩家角色
<span
class=
"lime"
>
每升一级
</span>
,便可以获得一点技能点。
<BR>
<BR>
<p>
技能点可以用于多种升级操作,其中有一些是
<span
class=
"yellow"
>
公共的
</span>
(任意称号均可使用),而有一些是
<span
class=
"yellow"
>
特殊的
</span>
(只有特定内定称号的才可使用,也只对对应称号有效)。
<BR>
内定称号拥有的效果与技能详见下表:
</p>
<table
cellSpacing=
0
cellPadding=
0
>
<BR>
<table
cellSpacing=
1
cellPadding=
2
>
<tr>
<tr>
<td
class=
"b1"
height=
20px
>
<td
class=
"b1"
height=
20px
width=
"60px"
>
<span>
称号名
</span>
<span>
称号名
</span>
</td>
</td>
<td
class=
"b1"
>
<td
class=
"b1"
width=
"40px"
>
<span>
种类
</span>
<span>
种类
</span>
</td>
</td>
<td
class=
"b1"
>
<td
class=
"b1"
width=
"450px"
>
<span>
被动特性
</span></td>
<span>
被动特性
</span></td>
<td
class=
"b1"
>
<td
class=
"b1"
width=
"100px"
>
<span>
主动
技能
</span>
<span>
技能
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1647,10 +1650,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1647,10 +1650,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始
殴系熟练增加;升级时额外增加殴系熟练
</span>
<span>
初始
拥有50点殴系熟练度;每次升级时获得4-6点殴系熟练度
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c1'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1661,10 +1664,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1661,10 +1664,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始
斩系熟练增加;升级时额外增加斩系熟练
</span>
<span>
初始
拥有50点斩系熟练度;每次升级时获得4-6点斩系熟练度
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c2'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1675,10 +1678,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1675,10 +1678,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始
射系熟练增加;升级时额外增加射系熟练
</span>
<span>
初始
拥有50点射系熟练度;每次升级时获得4-6点射系熟练度
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c4'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1689,10 +1692,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1689,10 +1692,10 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始
投系熟练增加;升级时额外增加投系熟练
</span>
<span>
初始
拥有50点投系熟练度;每次升级时获得4-6点投系熟练度
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c3'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1703,10 +1706,12 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1703,10 +1706,12 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始爆系熟练增加;升级时额外增加爆系熟练;设置陷阱有熟练度和经验值加成;合成爆炸物有数量加成;陷阱回避概率上升
</span>
<span>
初始拥有50点爆系熟练度;每次升级时获得6-8点爆系熟练度
<br>
埋设陷阱时有熟练度和经验值加成;合成爆炸物时耐久+50%;
<br>
成功回避陷阱后,将陷阱回收的概率+35%
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c5'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1717,10 +1722,12 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1717,10 +1722,12 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
一般
</span>
<span>
一般
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始灵系熟练增加;升级时额外增加灵系熟练
</span>
<span>
初始拥有40点灵系熟练度;每次升级时获得3-5点灵系熟练度
<br>
<span
class=
"grey"
>
但是你的超能力是从哪来的……?
</span>
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
能自由控制怒气使用必杀技
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c9'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1731,24 +1738,11 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1731,24 +1738,11 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
移动和探索体力消耗大幅减少,而且减少程度随着等级提升会上升;陷阱回避率增加,而遭遇陷阱几率减少
</span>
<span>
移动和探索体力消耗大幅减少,而且减少程度随着等级提升会上升;
<br>
陷阱回避率增加,而遭遇陷阱几率减少
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span><input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c6'));"
></span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
高速成长
</span>
</td>
<td
class=
"b3"
>
<span>
特殊
</span>
</td>
<td
class=
"b3"
>
<span>
每次攻击获得的熟练度为2点
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1759,10 +1753,13 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1759,10 +1753,13 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
hack成功率极高,且不会导致严重后果;合成电子设备有效果加成;陷阱探测类装备效率提高;电气属性致伤率增加;生命探测类设备可以探测全地图NPC
</span>
<span>
能够用电池、探测器电池为武器增加电击属性;电击致伤率增加;
<br>
hack成功率极高,且不会导致严重后果;
<br>
陷阱探测效率+10%;陷阱迎击成功率+20%
<br></span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
能够用电池或探测器电池为武器或陷阱增加电击属性
</span>
<span>
<input
type=
"button"
class=
"cmdbutton"
value=
"点击查看称号技能"
onclick=
"showModalDialog($('skillhelp-c7'));"
>
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1773,10 +1770,14 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1773,10 +1770,14 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
下毒伤害加成;毒属性致伤率增加;
</span>
<span>
能够用毒药为武器淬毒;毒属性致伤率增加;
<br>
可以检查补给是否有毒;为补给下毒时效果更好
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
能够查毒;能够用毒药为武器或陷阱增加带毒属性
</span>
<span>
待实装
</span>
<!--<span><input type="button" class="cmdbutton" value="点击查看称号技能" onclick="showModalDialog($('skillhelp-c8'));"></span>-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1787,24 +1788,28 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1787,24 +1788,28 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
战斗计算武器本系熟练值时会以一定比率额外附加其他系的熟练值;
</span>
<span>
每次攻击获得的熟练度为2点;
<br>
战斗计算武器本系熟练值时会额外附加25%其他系别熟练值
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
待实装
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"b2"
height=
20px
>
<td
class=
"b2"
height=
20px
>
<span>
全能
骑士
</span>
<span>
全能
兄贵
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始全系熟练少量增加;升级时额外增加全系熟练;使用补给品具有2.5倍效果
</span>
<span>
初始攻击力、防御力、生命值、全系熟练大幅提升;
<br>
生命值、攻击力、防御力成长率更高;升级时额外增加2-4点全系熟练
<br>
<span
class=
"grey"
>
但是代价是什么……?
</span></span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
无
</span>
<span>
待实装
</span>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1815,51 +1820,13 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1815,51 +1820,13 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
初始资金增加;购买物品所需金钱数下降
</span>
<span>
初始资金增加;购买物品所需金钱数下降;
<br>
</td>
可以与雇佣兵非法组队
<td
class=
"b3"
>
</span>
<span>
无
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
肌肉兄贵
</span>
</td>
<td
class=
"b3"
>
<span>
特殊
</span>
</td>
<td
class=
"b3"
>
<span>
初始攻击力、防御力增加;攻击力和防御力成长率更高
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
根性兄贵
</span>
</td>
<td
class=
"b3"
>
<span>
特殊
</span>
</td>
<td
class=
"b3"
>
<span>
初始生命值上限增加;生命最大值成长率更高
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
决死结界
</span>
</td>
<td
class=
"b3"
>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
当你被击杀或因陷阱而死时,会立即复活,同时本称号消失
</span>
<span>
待实装
</span>
</td>
</td>
<td
class=
"b3"
>
<span>
可以使用一次特殊技能,使自身命体上限、全系熟练、
<br>
怒气值均按比例获得一定加成,同时本称号消失
</span>
</tr>
</tr>
<tr>
<tr>
<td
class=
"b2"
height=
20px
>
<td
class=
"b2"
height=
20px
>
...
@@ -1869,10 +1836,14 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1869,10 +1836,14 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
特殊
</span>
<span>
特殊
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
若你心中毫无杂念,一心求生……
</span>
<span>
获得奇妙的庇佑,让你惩恶扬善。
<br>
这是一个偏上级者向的称号,还请自己体验。
<br>
<span
class=
"grey"
>
若你心中毫无杂念,一心求生……
</span>
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
获得奇妙的庇佑,让你惩恶扬善。
<br>
这是一个偏上级者向的称号,还请自己体验。
</span>
<span>
待实装
</span>
</tr>
</tr>
<tr>
<tr>
<td
class=
"b2"
height=
20px
>
<td
class=
"b2"
height=
20px
>
...
@@ -1882,357 +1853,17 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -1882,357 +1853,17 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
道具
</span>
<span>
道具
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
可以通过打碎道具或尸体提炼元素,
<br>
并消耗元素来无中生有制造物品。
</span>
<span>
可以通过打碎道具或尸体提炼元素,
<br>
并消耗元素来无中生有制造物品
</span>
</td>
</td>
<td
class=
"b3"
>
<td
class=
"b3"
>
<span>
需要遵循一定的规则。
<br>
详情见元素大师称号卡本体。
</span>
<span>
待实装
</span>
</tr>
</tr>
</table>
</table>
<br>
<br>
<p>
玩家角色
<span
class=
"lime"
>
每升一级
</span>
,便可以获得一点技能点。
<BR>
<p>
技能点可以用于多种升级操作,其中有一些是
<span
class=
"yellow"
>
公共的
</span>
(任意称号均可使用),而有一些是
<span
class=
"yellow"
>
特殊的
</span>
(只有特定内定称号的才可使用,也只对对应称号有效),具体请见下表。
<BR>
<br>
<table
cellSpacing=
0
cellPadding=
0
>
<tr>
<td
class=
"b1"
height=
20px
>
<span>
名称
</span>
</td>
<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>
生命
</span>
</td>
<td
class=
"b3"
>
<span>
不限
</span>
</td>
<td
class=
"b3"
>
<span>
使用技能点提升一定生命上限
</span>
</td>
<td
class=
"b3"
>
<span>
单次使用,立即生效
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
攻防
</span>
</td>
<td
class=
"b3"
>
<span>
不限
</span>
</td>
<td
class=
"b3"
>
<span>
使用技能点提升一定基础攻击和基础防御
</span>
</td>
<td
class=
"b3"
>
<span>
单次使用,立即生效
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
治疗
</span>
</td>
<td
class=
"b3"
>
<span>
不限
</span>
</td>
<td
class=
"b3"
>
<span>
使用技能点包扎所有伤口,解除所有异常状态
</span>
</td>
<td
class=
"b3"
>
<span>
单次使用,立即生效
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
格挡
</span>
</td>
<td
class=
"b3"
>
<span>
铁拳无敌
</span>
</td>
<td
class=
"b3"
>
<span>
当使用殴系武器时,武器效果按一定比率算入防御力
</span>
</td>
<td
class=
"b3"
>
<span>
可升级,增加的防御力数值有上限
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
暴击
</span>
</td>
<td
class=
"b3"
>
<span>
铁拳无敌
</span>
</td>
<td
class=
"b3"
>
<span>
当使用殴系武器时,增强武器攻击力,有几率在计算伤害时让对方防御力减少一定比率
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
精准
</span>
</td>
<td
class=
"b3"
>
<span>
见敌必斩
</span>
</td>
<td
class=
"b3"
>
<span>
当使用斩系武器时,提升武器的命中率,减少连击时命中率衰减
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
保养
</span>
</td>
<td
class=
"b3"
>
<span>
见敌必斩
</span>
</td>
<td
class=
"b3"
>
<span>
当使用斩系武器时,攻击时武器耐久损耗几率降低
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
静息
</span>
</td>
<td
class=
"b3"
>
<span>
狙击鹰眼
</span>
</td>
<td
class=
"b3"
>
<span>
当使用射系武器时,提升武器的命中率,减少连击时命中率衰减
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
重击
</span>
</td>
<td
class=
"b3"
>
<span>
狙击鹰眼
</span>
</td>
<td
class=
"b3"
>
<span>
当使用射系武器时,损坏敌人防具概率增加,敌人防具耐久损耗增加,一定几率获得一定比率的攻击力加成
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
臂力
</span>
</td>
<td
class=
"b3"
>
<span>
灌篮高手
</span>
</td>
<td
class=
"b3"
>
<span>
当使用投系武器时,提升武器的反击率
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
潜能
</span>
</td>
<td
class=
"b3"
>
<span>
灌篮高手
</span>
</td>
<td
class=
"b3"
>
<span>
当使用投系武器时,增强武器攻击力,增加武器伤害的浮动范围
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
隐蔽
</span>
</td>
<td
class=
"b3"
>
<span>
拆弹专家
</span>
</td>
<td
class=
"b3"
>
<span>
提升自己的隐蔽率,提升自己的先手率
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
冷静
</span>
</td>
<td
class=
"b3"
>
<span>
拆弹专家
</span>
</td>
<td
class=
"b3"
>
<span>
回避陷阱几率增加,拆除并重复使用敌人陷阱的几率增加
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
灵力
</span>
</td>
<td
class=
"b3"
>
<span>
超能力者
</span>
</td>
<td
class=
"b3"
>
<span>
当使用灵系武器时,降低攻击时体力消耗,降低敌人对自己攻击的反击率
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
敏捷
</span>
</td>
<td
class=
"b3"
>
<span>
宛如疾风
</span>
</td>
<td
class=
"b3"
>
<span>
提升自己的隐蔽率,提升自己的先手率,提升自己的反击率
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
闪避
</span>
</td>
<td
class=
"b3"
>
<span>
宛如疾风
</span>
</td>
<td
class=
"b3"
>
<span>
战斗时对方命中率降低
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
攻防
</span>
</td>
<td
class=
"b3"
>
<span>
肌肉兄贵
</span>
</td>
<td
class=
"b3"
>
<span>
用技能点换取攻防数值时,能获得比一般称号更多的攻防
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
生命
</span>
</td>
<td
class=
"b3"
>
<span>
根性兄贵
</span>
</td>
<td
class=
"b3"
>
<span>
用技能点换取生命上限数值时,能获得比一般称号更多的生命上限
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
晶莹
</span>
</td>
<td
class=
"b3"
>
<span>
晶莹剔透
</span>
</td>
<td
class=
"b3"
>
<span>
同时减少对敌人造成的最终伤害与自己受到的最终伤害,『业』的增长率下降
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
剔透
</span>
</td>
<td
class=
"b3"
>
<span>
晶莹剔透
</span>
</td>
<td
class=
"b3"
>
<span>
主动攻击时有概率对敌人造成额外的伤害,额外伤害取决于你与敌人的『业』的差值
</span>
</td>
<td
class=
"b3"
>
<span>
可升级
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
节制
</span>
</td>
<td
class=
"b3"
>
<span>
元素大师
</span>
</td>
<td
class=
"b3"
>
<span>
解锁后可以限制元素合成结果的效耐上限
</span>
</td>
<td
class=
"b3"
>
<span>
5级后解锁
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
预言
</span>
</td>
<td
class=
"b3"
>
<span>
元素大师
</span>
</td>
<td
class=
"b3"
>
<span>
解锁能够干涉元素合成结果的效耐占比,但存在一定风险
</span>
</td>
<td
class=
"b3"
>
<span>
15级后解锁
</span>
</td>
</tr>
<tr>
<td
class=
"b2"
height=
20px
>
<span>
学习
</span>
</td>
<td
class=
"b3"
>
<span>
天赋异禀
</span>
</td>
<td
class=
"b3"
>
<span>
可以学习以上技能中的任意2个,并为己所用
</span>
</td>
<td
class=
"b3"
>
<span>
无
</span>
</td>
</tr>
</table>
<BR>
<BR>
<BR>
<!--
<!--
<p><a name="地区说明"><span class="subtitle2">17.地区说明</span></a></p>
<p><a name="地区说明"><span class="subtitle2">17.地区说明</span></a></p>
...
@@ -3171,7 +2802,7 @@ NPC也会发出重击和必杀技,请随时小心。</p>
...
@@ -3171,7 +2802,7 @@ NPC也会发出重击和必杀技,请随时小心。</p>
<span>
备注
</span>
<span>
备注
</span>
</TD>
</TD>
</TR>
</TR>
<!--{eval
requir
e config('combatcfg',$gamecfg);}-->
<!--{eval
includ
e config('combatcfg',$gamecfg);}-->
<!--{loop $wthinfo $wi $wn}-->
<!--{loop $wthinfo $wi $wn}-->
<TR>
<TR>
<TD
class=
"b2"
height=
20px
>
<TD
class=
"b2"
height=
20px
>
...
...
templates/default/npcinfohelp.htm
View file @
c253c786
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
数目
数目
</td>
</td>
<td
width=
100px
align=
"center"
class=
"b3"
>
<td
width=
100px
align=
"center"
class=
"b3"
>
<!--{if
$npcdescription[$kind][$ksub][$key]['count']>0
}-->
<!--{if
!empty($npcdescription[$kind][$ksub][$key]['count'])
}-->
$npcdescription[$kind][$ksub][$key]['count']
$npcdescription[$kind][$ksub][$key]['count']
<!--{else}-->
<!--{else}-->
-
-
...
@@ -176,7 +176,11 @@
...
@@ -176,7 +176,11 @@
手臂装备
手臂装备
</td>
</td>
<td
width=
505px
align=
"center"
class=
"b3"
>
<td
width=
505px
align=
"center"
class=
"b3"
>
<!--{if !empty($npcinfo[$kind][$ksub][$key]['ara'])}-->
$npcinfo[$kind][$ksub][$key]['ara']/$npcinfo[$kind][$ksub][$key]['arae']/$npcinfo[$kind][$ksub][$key]['aras']
<!--{if isset($npcinfo[$kind][$ksub][$key]['arask_words'])}-->
/$npcinfo[$kind][$ksub][$key]['arask_words']
<!--{/if}-->
$npcinfo[$kind][$ksub][$key]['ara']/$npcinfo[$kind][$ksub][$key]['arae']/$npcinfo[$kind][$ksub][$key]['aras']
<!--{if isset($npcinfo[$kind][$ksub][$key]['arask_words'])}-->
/$npcinfo[$kind][$ksub][$key]['arask_words']
<!--{/if}-->
<!--{else}-->
-/-/-
<!--{/if}-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -192,7 +196,11 @@
...
@@ -192,7 +196,11 @@
饰品
饰品
</td>
</td>
<td
width=
505px
align=
"center"
class=
"b3"
>
<td
width=
505px
align=
"center"
class=
"b3"
>
<!--{if !empty($npcinfo[$kind][$ksub][$key]['art'])}-->
$npcinfo[$kind][$ksub][$key]['art']/$npcinfo[$kind][$ksub][$key]['artk']
<!--{if isset($npcinfo[$kind][$ksub][$key]['artsk_words'])}-->
/$npcinfo[$kind][$ksub][$key]['artsk_words']
<!--{/if}-->
$npcinfo[$kind][$ksub][$key]['art']/$npcinfo[$kind][$ksub][$key]['artk']
<!--{if isset($npcinfo[$kind][$ksub][$key]['artsk_words'])}-->
/$npcinfo[$kind][$ksub][$key]['artsk_words']
<!--{/if}-->
<!--{else}-->
-/-/-
<!--{/if}-->
</td>
</td>
</tr>
</tr>
<!--{loop $itemlst $id $vid}-->
<!--{loop $itemlst $id $vid}-->
...
...
templates/default/skillhelp.htm
0 → 100644
View file @
c253c786
<!--{loop $club_skillslist $clb $vars}-->
<dialog
id=
"skillhelp-c{$clb}"
style=
"width: 568px; max-width: 90%;max-height: 80%;"
>
<p
style=
"margin-left:0px; margin-top:0px; margin-right:0px; margin-bottom:0px;"
>
<!--{eval $uidata = create_dummy_playerdata($clb);}-->
以下是「{$clubinfo[$clb]}」的称号技能列表:
<br><br>
<table
class=
"skilltable"
style=
"width:559px"
>
<tr>
<td
class=
"b1"
width=
"40"
>
<span>
名称
</span>
</td>
<td
class=
"b1"
>
<span>
技能详情
</span>
</td>
</tr>
<!--{loop $uidata['clbpara']['skill'] $sknm}-->
<!--{eval $skdata = init_clubskillsdata($sknm,$uidata);}-->
<!--{if is_array($skdata)}-->
<!--{eval include template($skdata[0]);}-->
<!--{elseif !empty($skdata)}-->
<!--{eval $skid = $skdata;include template('skill_temp');}-->
<!--{/if}-->
<!--{/loop}-->
</table>
<br>
提示:点击技能界面外任意位置或按ESC键即可返回主界面
<br>
</p>
<img
class=
"dialog-background"
src=
"img/profile.gif"
onclick=
"closeDialog($('skillhelp-c{$clb}'));this.disabled=true;"
>
</dialog>
<!--{/loop}-->
\ No newline at end of file
templates/default/skillpage.htm
View file @
c253c786
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<span>
技能详情
</span>
<span>
技能详情
</span>
</td>
</td>
</tr>
</tr>
<!--{loop $
clbpara
['skill'] $sknm}-->
<!--{loop $
uidata['clbpara']
['skill'] $sknm}-->
<!--{eval $skdata = init_clubskillsdata($sknm,$uidata);}-->
<!--{eval $skdata = init_clubskillsdata($sknm,$uidata);}-->
<!--{if is_array($skdata)}-->
<!--{if is_array($skdata)}-->
<!--{eval include template($skdata[0]);}-->
<!--{eval include template($skdata[0]);}-->
...
...
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