Post
by EqMule » Sat Feb 08, 2003 10:21 pm
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...