Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
.com.unity Forums - View Single Post - Bug? Diseased Undead + Burden of Time
View Single Post
  #8  
Old August 16th, 2010, 07:46 AM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default 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...
__________________
The ignorant shall fall to the squirrels.
--Chip 4:2

Ulm: Order of the Black Rose - Reimagining MA Ulm

A more Sombre forum: http://z7.invisionfree.com/Dom3mods/index.php?.act=idx. Now with more Maerlande.
Reply With Quote