[Bilka] Enemy tooltips show the same modifiers as the player

This subforum contains all the issues which we already resolved.
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 425
Joined: Thu Dec 21, 2017 8:02 am
Contact:

[Bilka] Enemy tooltips show the same modifiers as the player

Post by ownlyme »

Symptom:
The tooltips of enemies always show the same ammo damage and gun speed modifiers that the player has.

Reproducing code: (to be tested sequentially)

Code: Select all

/c game.player.force.set_ammo_damage_modifier("biological",1)
game.player.surface.create_entity{name="small-spitter", position = game.player.position, force = "enemy"}

Code: Select all

/c game.create_force("test")
game.player.force = "test"
game.player.surface.create_entity{name="small-spitter", position = game.player.position, force = "player"}

Code: Select all

/c game.player.force.set_ammo_damage_modifier("biological",1)
game.player.surface.create_entity{name="small-spitter", position = game.player.position, force = "player"}
creator of 52 mods
My requests: relAbove||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||tank bug w/ min_range >= projectile_creation_distance
Bilka
Factorio Staff
Factorio Staff
Posts: 3310
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [Bilka] Enemy tooltips show the same modifiers as the player

Post by Bilka »

Thanks for the report, fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Problems and Bugs”