[16.51] Unit not dying

Things that has been reported already before.

[16.51] Unit not dying

Postby 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?
TheSAguy
Smart Inserter
Smart Inserter
 
Posts: 1224
Joined: Mon Jan 13, 2014 6:17 pm

Re: [16.51] Unit not dying

Postby Loewchen » Fri Jul 13, 2018 11:55 am

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

Re: [16.51] Unit not dying

Postby Rseding91 » Fri Jul 13, 2018 6:43 pm

Loewchen wrote:https://forums.factorio.com/viewtopic.php?f=7&t=61492


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.
Rseding91
Factorio Staff
Factorio Staff
 
Posts: 7631
Joined: Wed Jun 11, 2014 5:23 am


Return to Duplicates

Who is online

Users browsing this forum: No registered users and 0 guests