有很多的玩家们想要利用解毒剂代码来解毒,但是有一部分玩家们并不知道了解解毒剂代码,也不知道解毒剂代码的使用方法。接下来小编就将为大家带来饥荒海难解毒剂代码,感兴趣的玩家们赶快一起来看看吧!
1、毒药控制台代码使用方法
进入游戏后,按“~键”也就是横排数字键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
2、解毒剂中的蛇油:
效果代码inst:AddComponent("poisonhealer")
蛇油效果代码inst:AddComponent("poisonhealer")inst.components.poisonhealer.enabled = false
self.enabled = true --Used for snakeoil. We don't want it to actually do anything.对于蛇油我们不想做任何事情,可能蛇油是个未完成物品
以上就是小编为大家带来的精彩内容,希望对玩家们能有所帮助。喜欢本文的玩家可以继续关注精彩库网站,小编会陆续为玩家们带来更多精彩的饥荒游戏攻略。
查看全部
相关推荐