All Data Structures Namespaces Files Functions Variables Pages
gamecfg_1.php
Go to the documentation of this file.
<?php
/*Game Config*/
//禁区间隔时间,单位 小时
$areahour = 40;
//每次间隔增加的禁区数量
$areaadd = 4;
//聊天记录里的禁区提示时间，单位秒
$areawarntime = 60;
//玩家激活结束时的增加禁区的回数，相当于已经进行的小时数/间隔时间，〉0
$arealimit = 2;
//是否自动逃避禁区 0=只有重视躲避自动躲避，1=所有玩家自动躲避，适合新手较多，不了解禁区机制
$areaesc = 0;
//是否开启死斗模式 0=关闭,1=开启。连斗后下次禁区，进入死斗状态，死斗后玩家只会遇到玩家，死斗后所有区域都将一次性宣布为禁区。（尚未完成）
$isduel = 0;
//开启快捷键？0为不开启，1为开启
$hotkeyon = 0;
//开启NPC台词功能？0为不开启，1为开启
$npcchaton = 1;
//有台词的NPC
$npccanchat = Array(1,5,6,7,9,10,12,13,15,21,22);
//反挂机系统间隔时间，单位分钟
$antiAFKertime = 3;
//尸体保护时间，单位秒
$corpseprotect = 10;
//是否启动冷却时间，0为不启动，1为启动；
$coldtimeon = 1;
//是否显示冷却时间倒计时，0为不显示，1为显示；
$showcoldtimer = 1;
//移动的冷却时间，单位微秒
$movecoldtime=900;
//探索的冷却时间，单位微秒
$searchcoldtime=900;
//使用物品的冷却时间，单位微秒
$itemusecoldtime=600;
//胜率榜最小参赛次数
$winratemingames = 50;
//是否启动赌注系统？0为不启动，1为启动；
$gamblingon = 1;
//本局游戏人数限制
$validlimit = 300;
//连斗时的人数限制
$combolimit = 50;
//连斗最小死亡人数限制a
$deathlimit = 160;
//连斗激活系数分母b
$deathdeno = 20;
//连斗激活系数分子c。如果设参与人数为d，则实际连斗判定死亡数是a+ceil(d/b)*c
$deathnume = 20;
// 等级提升基本经验值
$baseexp = 9;
// 初始耐力最大值
$splimit = 400;
// 初始生命最大值
$hplimit = 400;
// 怒气最大值
$mrage = 500;
//携带金钱上限
$moneylimit = 65500;
// 恢复量的设定
//体力恢复时间(秒):*秒1点恢复
$sleep_time = 3;
//生命恢复时间(秒):*秒1点恢复
$heal_time = 6;
//包扎伤口需要的体力
$inf_sp = 50;
//治疗特殊状态需要的体力
$inf_sp_2 = 200;
//创建队伍需要的体力
$team_sp = 200;
//加入队伍需要的体力
$teamj_sp = 100;
//队伍最大人数
$teamlimit = 2;
//随机事件几率(百分比)
$event_obbs = 5;
//强制踩陷阱最小几率(百分比)
$trap_min_obbs = 1;
//强制踩陷阱最大几率(百分比)
$trap_max_obbs = 40;
//道具发现基础几率(百分比);
$item_obbs = 60;
//敌人发现基础几率(百分比)
$enemy_obbs = 70;
//尸体发现几率（百分比）
$corpse_obbs = 50;
//基础先攻率
$active_obbs = 50;
//基础反击率
$counter_obbs = 50;
//受伤状态的设定
//h-头部受伤，b-身体受伤,a-手腕受伤，f-足部受伤，p-中毒，u-烧伤，i-冻结，e-麻痹
//各种受伤状态对移动消耗体力的影响
$inf_move_sp = Array('f'=> 10, 'i'=> 20,'e'=> 5);
//各种受伤状态对探索消耗体力的影响
$inf_search_sp = Array('a'=> 10, 'i'=> 20,'e'=> 5);
//各种受伤状态移动时消耗的生命力，百分比
$inf_move_hp = Array('p'=> 0.0625, 'u'=> 0.0625);
//各种受伤状态探索时消耗的生命力，百分比
$inf_search_hp = Array('p'=> 0.03125, 'u'=> 0.03125);
//hack基础成功率
$hack_obbs = 40;
//电子设备充电上限，包括电脑和雷达
$elec_cap = 5;
//成就总数
$achievement_count=70;
?>
$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