特玩游戏网:最新、最全游戏资讯站!

饥荒海难解毒剂代码分享 饥荒中毒了不用怕

时间:2016-01-05 16:51:46 作者:喵喵么么 来源:www.te5.com

早前我们曾经介绍饥荒中毒了的药剂配制材料和配制方法(相关链接请戳此处),下面分享一下饥荒海难如何利用解毒剂代码解毒。

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.对于蛇油我们不想做任何事情,可能蛇油是个未完成物品

以上就是饥荒海难解毒剂代码分享 饥荒中毒了不用怕的全部内容,希望对玩家有所帮助。

免责声明:特玩网发此文仅为传递信息,不代表特玩网认同其观点或证实其描述。

同时文中图片应用自网络,如有侵权请联系删除。

(none)

  • 游戏类型:(none)
  • 特征:(none)
  • 游戏语言:(none)

网友评论