AA Exp % error, plz help

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

masacist
orc pawn
orc pawn
Posts: 11
Joined: Tue Jan 27, 2004 10:40 am

AA Exp % error, plz help

Post by masacist » Tue Jul 13, 2004 11:45 am

ok currently on my AA exp bar it shows that it is full GRAPHICALLY to about 97%.....

BUT the problem is that the percentage shown in text next to the bar displays the wrong info, shows '0.4' for the first lot of code and '5.7' for the second lot of code.

Can anybody help me with this at all and if possible explain what is actually going on in the following command so i could possibly change it myself,

Code: Select all

${Math.Calc[${Me.AAExp}/30.30]}
= 0.4

Code: Select all

$(Me.PctAAExp}
= 5.7


:?


thnx guys.

P.S. I'd like to see my AA exp percentage in 2 decimal places if poss e.g. 97.00%
"Theres only 10 types of people who understand Binary - and them who read Binary for Dummies"

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Tue Jul 13, 2004 11:59 am

this shows your AAxp rounded up

Code: Select all

 /echo "I am at ${Float[${Me.PctAAExp}]} percent AA Exp." 
and this will show the actuall amount

Code: Select all

 /echo "I am at ${Me.PctAAExp} percent AA Exp." 
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]