player.character_damage_bonus
player.character_damage_bonus
I would like a LuaPlayer.character_damage_bonus property that multiplies outgoing damage.
Re: player.character_damage_bonus
Damage bonuses are done per-damage-type per-force:
http://lua-api.factorio.com/latest/LuaF ... e_modifier
http://lua-api.factorio.com/latest/LuaF ... e_modifier
http://lua-api.factorio.com/latest/LuaF ... e_modifier
http://lua-api.factorio.com/latest/LuaF ... e_modifier
If you want to get ahold of me I'm almost always on Discord.
- Ranakastrasz
- Smart Inserter
- Posts: 2179
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: player.character_damage_bonus
Gun turrets? I am pretty sure those get their own damage bonus separate from the ammo.
That's why they still are ok late game, compared to laser turrets, aside from the range.
~Although new Uranium ammo throws a wrench into that....
That's why they still are ok late game, compared to laser turrets, aside from the range.
~Although new Uranium ammo throws a wrench into that....
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Re: player.character_damage_bonus
Nope, it's all in the ammo damage bonus and ammo shooting speed bonus that the turret uses - which are the above 2 links.Ranakastrasz wrote:Gun turrets? I am pretty sure those get their own damage bonus separate from the ammo.
That's why they still are ok late game, compared to laser turrets, aside from the range.
~Although new Uranium ammo throws a wrench into that....
If you want to get ahold of me I'm almost always on Discord.
- Ranakastrasz
- Smart Inserter
- Posts: 2179
- Joined: Thu Jun 12, 2014 3:05 am
- Contact:
Re: player.character_damage_bonus
Then why does Gun Turret damage Effect Piercing ammo only when it is placed in a Gun Turret?
I think that the bonus is associated with the Gun turret, not the ammo.
Would make more sense if it effected weapons, actually. Gun turret's built in weapon, and then Tank cannon, SMG, etc.
I think that the bonus is associated with the Gun turret, not the ammo.
Would make more sense if it effected weapons, actually. Gun turret's built in weapon, and then Tank cannon, SMG, etc.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
-
- Fast Inserter
- Posts: 226
- Joined: Wed Apr 30, 2014 11:17 pm
- Contact:
Re: player.character_damage_bonus
I think he's saying he wants a http://lua-api.factorio.com/latest/LuaF ... k_modifier but for the player.
Like my mods? Check out another! Or see older, pre-0.12.0 mods.