Page 1 of 1
$target(hp,XXX)
Posted: Sat Feb 08, 2003 1:10 am
by gnomepunter
Currently it only gives a % valur of the target's current/max/percent hp... Is there a way to /echo an exact number for max hp and current hp or a target?
Re: $target(hp,XXX)
Posted: Sat Feb 08, 2003 1:45 am
by SingleServing
gnomepunter wrote:Currently it only gives a % valur of the target's current/max/percent hp... Is there a way to /echo an exact number for max hp and current hp or a target?
In short no.
Long, you used to be able to but they no longer send that information to the client, in attempts to send less information to lighten lag and/or nurf SEQ and Macroquest.
Posted: Sat Feb 08, 2003 1:01 pm
by gnomepunter
kk thanks for the quick reply
Posted: Sat Feb 08, 2003 10:21 pm
by EqMule
hmm yes kinda, but we would have to make $target take another paramater maybe called "maxhp" and you could, if you like me are hunting the same mobs over and over and know their maxhp just feed it to $target, and then have a calculation take place which would then give you the correct current hp of the target... so for example $target(hp,maxhp,XXX) where maxhp would be for example 8387 (parsed from my logfile for a level 48 npc that shall remain anon) when mob is at 63% we know the hp returned should be 0.63 * 8387 which means the npc has 5283 hp left
hmm I would like that function...
Posted: Sun Feb 09, 2003 12:44 am
by Lax
In order to do something like that, you would need a database of mobs along with their zone and level (different hp based on level, different copies of the same name, etc). You could of course approximate based on zone and level instead of keeping an index of every mob. Basically, it's not an easy thing to do considering all the concrete information you have is the percentage, because thats what they give the client..