2.6 虫族
小型虫族在下面建筑部分文件中
X:\Factorio\data\base\prototypes\entity\enemies.lua
name = "medium-biter",(中型虫族)
name = "big-biter",(大型虫族)
max_health = 75,(HP)
……
resistances = (抗性)
{
{
type = "physical",
decrease = 4,
},
{
type = "explosion",
percent = 10
……
healing_per_tick = 0.01,(生命恢复速度)
……
distraction_cooldown = 300,(分散注意力的冷却时间)
……
ammo_category = "melee",(攻击类型,近战)
ammo_type = make_unit_melee_ammo_type(15),(攻击动画)
range = 1,(攻击距离)
cooldown = 35,(冷却时间)
……
vision_distance = 30,(视野距离)
movement_speed = 0.185,(移动速度)
distance_per_frame = 0.15,(移动动作每一帧移动的距离)
-- in pu
pollution_to_join_attack = 1000,(接触到多少污染值开始攻击)
name = "medium-biter-corpse",(中型虫族尸体)
name = "big-biter-corpse",(大型虫族尸体)
同虫族炮塔尸体
更多相关内容请关注:异星工厂专题