Merc Life (50/50 question/rant)
#7
Isolde,Mar 19 2003, 02:07 PM Wrote:hmm... that's a good point.  now that you mention it, i do remember there being something like that.

well, that means the reason your merc is displaying zero life is probably due to my second supposition, which is that it has less than 1% life and the server sends life of monsters in 1% increments.
One place were I remember the check versus one (if I recall correctly and saw it correctly, I tend to goof at times, right? :) ) would be the function for seting up an attack. Right after the call to the resistance and similar code and right before the game allocate memory for the combat data and insert it into the hUnit of the attacker, it will add up damage and compare with the targets life and set a flag. Of course, that is not actually the dealing of damage and such but I think the flag is used for some things and I think some similar check is done in the actual function dealing damage.

All this from memory though.
There are three types of people in the world. Those who can count and those who can't.
Reply


Messages In This Thread
Merc Life (50/50 question/rant) - by NuurAbSaal - 03-18-2003, 11:20 AM
Merc Life (50/50 question/rant) - by Chameleon - 03-18-2003, 03:01 PM
Merc Life (50/50 question/rant) - by NuurAbSaal - 03-18-2003, 06:29 PM
Merc Life (50/50 question/rant) - by Isolde - 03-19-2003, 10:21 AM
Merc Life (50/50 question/rant) - by Jarulf - 03-19-2003, 01:11 PM
Merc Life (50/50 question/rant) - by Isolde - 03-19-2003, 01:16 PM
Merc Life (50/50 question/rant) - by Jarulf - 03-19-2003, 01:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)