Page 1 of 1

[16.51] Unit not dying

Posted: Wed Jul 11, 2018 10:41 pm
by TheSAguy
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?

Re: [16.51] Unit not dying

Posted: Fri Jul 13, 2018 11:55 am
by Loewchen

Re: [16.51] Unit not dying

Posted: Fri Jul 13, 2018 6:43 pm
by Rseding91
I moved the other one into bug reports because i thought it was this one that got moved out by someone - oops :)