Page 1 of 1

Target.CurrentHPs question

Posted: Tue Jun 08, 2004 4:37 pm
by kellewic
Hello, I just started using MacroQuest and seem to be having an issue with Target.CurrentHPs in that it doesn't return anything less than 100. If I target myself, I get the correct value (which is more than 100). If I target say an orc pawn (level 1 Warrior according to Target.Level and Target.Class) it says the mob has 100 CurrentHPs. I then go up and hit it for 20 points and it dies so obviously it cannot have 100 hps.

I searched the boards for any mention of this, but the only thing I really found was a bug report that said Me.MaxHPs was returning 0 back in April.

I am using the values inside my target window XML file and it works, but returns what seem to be an incorrect value for CurrentHPs less than 100.

Has anyone else seen this issue?


Thanks.

Posted: Tue Jun 08, 2004 4:57 pm
by Pheph
It's actually not an issue at all.
A bit simplified, the servers only send the percentage of a mob/players HP to your client, so what it's displaying is how many percent HP the mob has left.

Posted: Tue Jun 08, 2004 5:04 pm
by kellewic
Is this just for mobs? When I target myself, I get 476 which are my actual current hps.

Posted: Tue Jun 08, 2004 6:27 pm
by Caladine
It's for anyone who isn't you.

Posted: Tue Jun 08, 2004 6:33 pm
by kellewic
ahh ok. Thanks. Was driving me crazy but makes sense now. I thought that's what Pheph meant but wanted to make sure.

Posted: Thu Jun 17, 2004 1:52 pm
by thisisjustatest80
Heh, "WTF why is Seru taking so long if he only has 100 hps"

I guess bane really does make a difference :wink: