HP Pct Problem

Status
Not open for further replies.

Mponthepc

Big Gnobody
Joined
Mar 16, 2006
Messages
96
Reaction score
1
Points
0
Trying to check HP% on all the balance mobs in Tacvi. Sometimes the first one works but most of the time they show up as 100% regardless of their HP. Any ideas?

Code:
/echo  Rage ${Spawn[Balance of Rage].PctHPs}% | Fury ${Spawn[Balance of Fury].PctHPs}% | Speed ${Spawn[Balance of Speed].PctHPs}% | Defense ${Spawn[Balance of Defense].PctHPs}%
 
Last edited:
You have to target the mob to get actual HPPct, or have someone with it on target and HoTT.

Best bet would be to run a macro or a sub in the Macro you currently run.
This is a simple sub you can put into a macro, or change to a stand alone. I would put in a timer also so it doesnt get called every time thru the macro.

HTML:
/declare Rage string outer Balance of Rage
/declare RageHP int outer 0
/declare Fury string outer Balance of Fury
/declare FuryHP string outer 0 
/declare Speed string outer Balance of Speed
/declare SpeedHP string outer 0
/declare Defense string outer Balance of Defense
/declare DefenseHP string outer 0

Sub BalancedHPs
/target ${Rage}
/varset RageHP int outer ${Target.PctHPs}
/delay 2
/target ${Fury}
/varset FuryHP int outer ${Target.PctHPs}
/delay 2
/target ${Speed}
/varset SpeedHP int outer ${Target.PctHPs}
/delay 2
/target ${Defense}
/varset DefenseHP int outer ${Target.PctHPs}
/delay 2

/echo Rage ${RageHP} % -- Fury ${FuryHP} % -- Speed ${SpeedHP} % -- Defense ${DefenseHP} %
/return
 
Status
Not open for further replies.