《饥荒》DLC海难毒药代码分享
来源: 飞翔小编 2013/12/3 10:38:49 浏览量:501
《饥荒》DLC海难玩家可以操作使用控制台,下面为大家分享玩家“q928844083”整理的部毒药控制台代码,需要的玩家可以参考一下吧。
进入游戏后,按“~键”也就是横排数字键1左边的那个就可以打开控制。然后输入相应代码。
切换到纯英文输入法,而且空格、标点、大小写必须一个不差。
POISON_IMMUNE_DURATION = 30, -- the time you are immune to poison after taking antivenom
POISON_DURATION = 120, -- the time in seconds that poison normally endures
POISON_DAMAGE_PER_INTERVAL = 2, -- the ammount of health damage poison causes per second -MR boosting to 2 for demo test
POISON_INTERVAL = 10, -- how frequently damage is applied
-- Total poison attack dmg = normal attack dmg + (POISON_DURATION/POISON_INTERVAL * POISON_DAMAGE_PER_INTERVAL)
-- NB: Players do not have a duration (i.e. they will take POISON_DAMAGE_PER_INTERVAL every POISON_INTERVAL seconds until they die/cure)
POISON_DAMAGE_RAMP = -- ElaPSed time must be greater than the time value for the associated damage_scale/fxlevel value to be used
{
{time=0, damage_scale=1, interval_scale = 1, fxlevel=1},
{time=1*total_day_time, damage_scale=1.1, interval_scale = 1, fxlevel=1},
{time=2*total_day_time, damage_scale=1.2, interval_scale = 1, fxlevel=1},
{time=3*total_day_time, damage_scale=1.3, interval_scale = .9, fxlevel=2},
{time=4*total_day_time, damage_scale=1.4, interval_scale = .8, fxlevel=2},
{time=5*total_day_time, damage_scale=1.5, interval_scale = .7, fxlevel=2},
{time=6*total_day_time, damage_scale=1.6, interval_scale = .6, fxlevel=3},
{time=7*total_day_time, damage_scale=1.7, interval_scale = .5, fxlevel=3},
{time=8*total_day_time, damage_scale=1.8, interval_scale = .4, fxlevel=3},
{time=9*total_day_time, damage_scale=1.9, interval_scale = .3, fxlevel=4},
{time=10*total_day_time,damage_scale=2, interval_scale = .2, fxlevel=4},
},
AREA_POISONER_CHECK_INTERVAL = .5, -- How frequently an area poisoner checks for nearby entities to infect
POISON_SANITY_SCALE = 0.05, -- sanity hit = poison hit * POISON_SANITY_SCALE set to 0 to turn off
有关毒药的具体代码 根据代码 毒药系统还没有完善