[16.51] Unit not dying

Things that has been reported already before.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1247
Joined: Mon Jan 13, 2014 6:17 pm

[16.51] Unit not dying

Post by TheSAguy » Wed Jul 11, 2018 10:41 pm

Hi,

I've created a unit with a negative healing_per_tick = -1
So it should only have a certain time to live.

What seems to happen though, is that once it reaches 0, it does not die, and actually becomes immortal once it reaches 0. (I can't target it or other units can't attack it.)
So, the player of player's units can kill it if they damage it before it's health reaches 0, but once it reaches 0, it can't be killed....

Image

Once it reaches 0, I cant target it to kill...
This only happens if it reaches 0 live due to the negative healing per tick. If you damage it before it reaches 0 you can kill it, but once at 0, I can't target or kill it.

Below I'm trying to shoot it, but can't select it. Same for other units trying to kill it. He still causes damage though.
Image
This seems to be a bug, but I'm not entirely sure...

Any code I can provide to help out?

Loewchen
Global Moderator
Global Moderator
Posts: 4642
Joined: Wed Jan 07, 2015 5:53 pm

Re: [16.51] Unit not dying

Post by Loewchen » Fri Jul 13, 2018 11:55 am


Rseding91
Factorio Staff
Factorio Staff
Posts: 7937
Joined: Wed Jun 11, 2014 5:23 am

Re: [16.51] Unit not dying

Post by Rseding91 » Fri Jul 13, 2018 6:43 pm

I moved the other one into bug reports because i thought it was this one that got moved out by someone - oops :)
If you want to get ahold of me I'm almost always on IRC and Discord.

Post Reply

Return to “Duplicates”