Tokiwa Battle Royale
GE777
A PHP Battle Royale inspired game
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
gamecfg_1.php
Go to the documentation of this file.
1
<?php
2
/*Game Config*/
3
4
//禁区间隔时间,单位 小时
5
$areahour
= 40;
6
//每次间隔增加的禁区数量
7
$areaadd
= 4;
8
//聊天记录里的禁区提示时间,单位秒
9
$areawarntime
= 60;
10
//玩家激活结束时的增加禁区的回数,相当于已经进行的小时数/间隔时间,〉0
11
$arealimit
= 2;
12
//是否自动逃避禁区 0=只有重视躲避自动躲避,1=所有玩家自动躲避,适合新手较多,不了解禁区机制
13
$areaesc
= 0;
14
//是否开启死斗模式 0=关闭,1=开启。连斗后下次禁区,进入死斗状态,死斗后玩家只会遇到玩家,死斗后所有区域都将一次性宣布为禁区。(尚未完成)
15
$isduel
= 0;
16
17
//开启快捷键?0为不开启,1为开启
18
$hotkeyon
= 0;
19
//开启NPC台词功能?0为不开启,1为开启
20
$npcchaton
= 1;
21
//有台词的NPC
22
$npccanchat
= Array(1,5,6,7,9,10,12,13,15,21,22);
23
//反挂机系统间隔时间,单位分钟
24
$antiAFKertime
= 3;
25
//尸体保护时间,单位秒
26
$corpseprotect
= 10;
27
//是否启动冷却时间,0为不启动,1为启动;
28
$coldtimeon
= 1;
29
//是否显示冷却时间倒计时,0为不显示,1为显示;
30
$showcoldtimer
= 1;
31
//移动的冷却时间,单位微秒
32
$movecoldtime
=900;
33
//探索的冷却时间,单位微秒
34
$searchcoldtime
=900;
35
//使用物品的冷却时间,单位微秒
36
$itemusecoldtime
=600;
37
38
//胜率榜最小参赛次数
39
$winratemingames
= 50;
40
//是否启动赌注系统?0为不启动,1为启动;
41
$gamblingon
= 1;
42
43
//本局游戏人数限制
44
$validlimit
= 300;
45
//连斗时的人数限制
46
$combolimit
= 50;
47
//连斗最小死亡人数限制a
48
$deathlimit
= 160;
49
//连斗激活系数分母b
50
$deathdeno
= 20;
51
//连斗激活系数分子c。如果设参与人数为d,则实际连斗判定死亡数是a+ceil(d/b)*c
52
$deathnume
= 20;
53
54
// 等级提升基本经验值
55
$baseexp
= 9;
56
// 初始耐力最大值
57
$splimit
= 400;
58
// 初始生命最大值
59
$hplimit
= 400;
60
// 怒气最大值
61
$mrage
= 500;
62
//携带金钱上限
63
$moneylimit
= 65500;
64
65
// 恢复量的设定
66
//体力恢复时间(秒):*秒1点恢复
67
$sleep_time
= 3;
68
//生命恢复时间(秒):*秒1点恢复
69
$heal_time
= 6;
70
//包扎伤口需要的体力
71
$inf_sp
= 50;
72
//治疗特殊状态需要的体力
73
$inf_sp_2
= 200;
74
//创建队伍需要的体力
75
$team_sp
= 200;
76
//加入队伍需要的体力
77
$teamj_sp
= 100;
78
//队伍最大人数
79
$teamlimit
= 2;
80
81
//随机事件几率(百分比)
82
$event_obbs
= 5;
83
//强制踩陷阱最小几率(百分比)
84
$trap_min_obbs
= 1;
85
//强制踩陷阱最大几率(百分比)
86
$trap_max_obbs
= 40;
87
//道具发现基础几率(百分比);
88
$item_obbs
= 60;
89
//敌人发现基础几率(百分比)
90
$enemy_obbs
= 70;
91
//尸体发现几率(百分比)
92
$corpse_obbs
= 50;
93
//基础先攻率
94
$active_obbs
= 50;
95
//基础反击率
96
$counter_obbs
= 50;
97
98
//受伤状态的设定
99
//h-头部受伤,b-身体受伤,a-手腕受伤,f-足部受伤,p-中毒,u-烧伤,i-冻结,e-麻痹
100
//各种受伤状态对移动消耗体力的影响
101
$inf_move_sp
= Array(
'f'
=> 10,
'i'
=> 20,
'e'
=> 5);
102
//各种受伤状态对探索消耗体力的影响
103
$inf_search_sp
= Array(
'a'
=> 10,
'i'
=> 20,
'e'
=> 5);
104
//各种受伤状态移动时消耗的生命力,百分比
105
$inf_move_hp
= Array(
'p'
=> 0.0625,
'u'
=> 0.0625);
106
//各种受伤状态探索时消耗的生命力,百分比
107
$inf_search_hp
= Array(
'p'
=> 0.03125,
'u'
=> 0.03125);
108
//hack基础成功率
109
$hack_obbs
= 40;
110
//电子设备充电上限,包括电脑和雷达
111
$elec_cap
= 5;
112
113
//成就总数
114
$achievement_count
=70;
115
116
?>
$areawarntime
$areawarntime
Definition:
gamecfg_1.php:9
$sleep_time
$sleep_time
Definition:
gamecfg_1.php:67
$baseexp
$baseexp
Definition:
gamecfg_1.php:55
$inf_search_sp
$inf_search_sp
Definition:
gamecfg_1.php:103
$trap_min_obbs
$trap_min_obbs
Definition:
gamecfg_1.php:84
$inf_sp
$inf_sp
Definition:
gamecfg_1.php:71
$event_obbs
$event_obbs
Definition:
gamecfg_1.php:82
$moneylimit
$moneylimit
Definition:
gamecfg_1.php:63
$validlimit
$validlimit
Definition:
gamecfg_1.php:44
$corpse_obbs
$corpse_obbs
Definition:
gamecfg_1.php:92
$searchcoldtime
$searchcoldtime
Definition:
gamecfg_1.php:34
$itemusecoldtime
$itemusecoldtime
Definition:
gamecfg_1.php:36
$deathdeno
$deathdeno
Definition:
gamecfg_1.php:50
$arealimit
$arealimit
Definition:
gamecfg_1.php:11
$team_sp
$team_sp
Definition:
gamecfg_1.php:75
$isduel
$isduel
Definition:
gamecfg_1.php:15
$inf_sp_2
$inf_sp_2
Definition:
gamecfg_1.php:73
$mrage
$mrage
Definition:
gamecfg_1.php:61
$areaesc
$areaesc
Definition:
gamecfg_1.php:13
$winratemingames
$winratemingames
Definition:
gamecfg_1.php:39
$corpseprotect
$corpseprotect
Definition:
gamecfg_1.php:26
$npcchaton
$npcchaton
Definition:
gamecfg_1.php:20
$npccanchat
$npccanchat
Definition:
gamecfg_1.php:22
$counter_obbs
$counter_obbs
Definition:
gamecfg_1.php:96
$antiAFKertime
$antiAFKertime
Definition:
gamecfg_1.php:24
$inf_move_hp
$inf_move_hp
Definition:
gamecfg_1.php:105
$active_obbs
$active_obbs
Definition:
gamecfg_1.php:94
$heal_time
$heal_time
Definition:
gamecfg_1.php:69
$combolimit
$combolimit
Definition:
gamecfg_1.php:46
$achievement_count
$achievement_count
Definition:
gamecfg_1.php:114
$trap_max_obbs
$trap_max_obbs
Definition:
gamecfg_1.php:86
$hplimit
$hplimit
Definition:
gamecfg_1.php:59
$splimit
$splimit
Definition:
gamecfg_1.php:57
$movecoldtime
$movecoldtime
Definition:
gamecfg_1.php:32
$showcoldtimer
$showcoldtimer
Definition:
gamecfg_1.php:30
$inf_move_sp
$inf_move_sp
Definition:
gamecfg_1.php:101
$coldtimeon
$coldtimeon
Definition:
gamecfg_1.php:28
$deathnume
$deathnume
Definition:
gamecfg_1.php:52
$hotkeyon
$hotkeyon
Definition:
gamecfg_1.php:18
$hack_obbs
$hack_obbs
Definition:
gamecfg_1.php:109
$elec_cap
$elec_cap
Definition:
gamecfg_1.php:111
$deathlimit
$deathlimit
Definition:
gamecfg_1.php:48
$areahour
$areahour
Definition:
gamecfg_1.php:5
$inf_search_hp
$inf_search_hp
Definition:
gamecfg_1.php:107
$teamj_sp
$teamj_sp
Definition:
gamecfg_1.php:77
$enemy_obbs
$enemy_obbs
Definition:
gamecfg_1.php:90
$item_obbs
$item_obbs
Definition:
gamecfg_1.php:88
$teamlimit
$teamlimit
Definition:
gamecfg_1.php:79
$areaadd
$areaadd
Definition:
gamecfg_1.php:7
$gamblingon
$gamblingon
Definition:
gamecfg_1.php:41
gamedata
cache
gamecfg_1.php
Generated on Thu Nov 20 2014 11:37:59 for Tokiwa Battle Royale by
1.8.8