Page 1 of 1

$calc($char(hp,cur)+$char(DAR))

Posted: Mon Nov 17, 2003 3:36 pm
by srene8
Is there a way to include
<EQType>9999</EQType>
<TooltipReference>$calc($char(hp,cur)+$char(DAR))</TooltipReference>
in my UI? I try but I get spammed with can not parse and it shows my hp as negative 1. Any ideas, please let me know.

Posted: Mon Nov 17, 2003 4:50 pm
by Zxeses
Well first of all, can you do this on the command line?

type

/echo $calc(whatever)

does it return an error also?

next, check each sub componant to see your result

/echo $char(hp,cur)
/echo $char(DAR)

Are they both returning numbers? You cant "add" two things unless they are numbers.

Posted: Mon Nov 17, 2003 5:42 pm
by gnome001
what is /echo $char(DAR) supposed to show?

Posted: Mon Nov 17, 2003 6:09 pm
by pooz
Damage Absorption Remaining... Unfortunately it doesn't update until after you zone (its not real time)

ty

Posted: Mon Nov 17, 2003 6:24 pm
by srene8
thanks. Problem was that I had DAR capitalized, hehe. DAR stands for Damage Absorb Remaining. So if you have a 800 rune, and get hit for 200, it would report 600 remaining.

Posted: Tue Nov 18, 2003 12:21 am
by bob_the_builder
Is $char(dar) real time or not?

it is not real time.

Is there any way to make this real time or get a real time %char ??

Bob

Posted: Tue Dec 02, 2003 2:21 pm
by Guest
I have the same question as bob the bulder; is there a way to make this update without zoning?

Posted: Fri Jan 23, 2004 10:14 pm
by FallenOne
sorry to bump this, but has a solution been found to the non real timeness of $char(dar) ? :)

Posted: Sat Jan 24, 2004 11:17 am
by mcswanbeck
it seems to work in real time now... I have tested it out with a RuneII proc as well as removing that buff again.

Posted: Sat Jan 24, 2004 2:40 pm
by FallenOne
did you test getting hit ? atm mine only shows that i got runes that amount to xxxx when full, but doesnt show whats actually left atm

Posted: Sun Jan 25, 2004 4:16 pm
by mcswanbeck
FallenOne wrote:did you test getting hit ? atm mine only shows that i got runes that amount to xxxx when full, but doesnt show whats actually left atm
You might be right... I was using it with max hp and not with the current hp... My bad, sorry.