Target.CurrentHPs question

A forum for the general posts relating to MacroQuest. *DEPRECATED: This forum is no longer in public use, but remains here for your reading pleasure. Enjoy

Moderator: MacroQuest Developers

kellewic
a lesser mummy
a lesser mummy
Posts: 38
Joined: Tue Jun 08, 2004 2:27 am
Location: AZ

Target.CurrentHPs question

Post by kellewic » Tue Jun 08, 2004 4:37 pm

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.

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Tue Jun 08, 2004 4:57 pm

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.

kellewic
a lesser mummy
a lesser mummy
Posts: 38
Joined: Tue Jun 08, 2004 2:27 am
Location: AZ

Post by kellewic » Tue Jun 08, 2004 5:04 pm

Is this just for mobs? When I target myself, I get 476 which are my actual current hps.

Caladine
a hill giant
a hill giant
Posts: 164
Joined: Fri Feb 13, 2004 9:29 pm

Post by Caladine » Tue Jun 08, 2004 6:27 pm

It's for anyone who isn't you.

kellewic
a lesser mummy
a lesser mummy
Posts: 38
Joined: Tue Jun 08, 2004 2:27 am
Location: AZ

Post by kellewic » Tue Jun 08, 2004 6:33 pm

ahh ok. Thanks. Was driving me crazy but makes sense now. I thought that's what Pheph meant but wanted to make sure.

thisisjustatest80
orc pawn
orc pawn
Posts: 10
Joined: Sun Feb 22, 2004 9:08 am

Post by thisisjustatest80 » Thu Jun 17, 2004 1:52 pm

Heh, "WTF why is Seru taking so long if he only has 100 hps"

I guess bane really does make a difference :wink: