Re: Bug? Diseased Undead + Burden of Time
It should be noted that Winds of Death has the same problem - it ages undead when its only supposed to effect living creatures (and undead are supposed to be immune to aging!)
I'm guessing Decay has the same issue.
(In fact, my guess is BoT is decay applied to every unit on the map).
The disease interaction happens because decay accelerates the effect of disease on the affected unit, and apparently happens separately than the normal disease mechanic, and the separate implemenation doesn't check to see if the creature is undead or not.
Suggested fixes:
-Implement a special 'age' value which is no age, and give it to undead and certain other units that don't age. This special value needs basically only one defined operation: NoAge + n = NoAge, for all n.
-Instead of letting undead gain the disease affliction, but it not having any effect in normal situations, why not just prohibit undead from getting diseased in the first place. Same amount of code, and it'll actually be less processor intensive because you just have to check for the exception when assigning the affliction, not every month when you try to reduce the hp of every unit with disease.
Both of these fixes of course assume that JK can be bothered to fix the problem. Its been 3 years since it was reported, apparently...
|