View Single Post
  #193  
Unread 11-21-2008, 11:33 AM
reins reins is offline
A Dervish Cutthroat
 
Join Date: Jan 2005
Server: Antonia Bayle
Posts: 35
Default

In the UI file is it possible to test if the progress bar current value is within a certain amount of time to finishing?

I'm not good with explaining whats going on in my brain, so I'll just give the example.

On combatbubble show,
if auto attack is on and the player is dual wielding, then
check each attack bar's remaining time, if it is less than 1/8 of a second then reset that bar

That would take care of the variance, as well as determine which bar you need to reset, primary or secondary. Also, not only do you need to check the ShadowStyle, but you need to check the font color as well, which will need to be white if I'm not mistaken. You won't need to make this check if you have only your combat bubbles showing though.