饥荒海难毒药代码解析
时间:2015-12-07 09:06:22来源:k73电玩之家作者:秩名热度:75次
《饥荒海难》在流程中相信大部分玩家都中过毒,虽然现在也有几种解毒方法,不过从控制台代码中发现毒药系统还没完善,这里将代码给大家分享解读一下。
《饥荒海难》在流程中相信大部分玩家都中过毒,虽然现在也有几种解毒方法,不过从控制台代码中发现毒药系统还没完善,这里将代码给大家分享解读一下。
CF完美手游化:《穿越火线枪战王者》下载
控制台开启方法:在游戏中按“~”键,
毒药代码:
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
有关毒药的具体代码 根据代码 毒药系统还没有完善
热门新闻
我要评论查看全部评论(0)>>