View Single Post
  #220  
Unread 11-21-2008, 11:49 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by dragowulf View Post
Oh and watch Razieh's video, there must be some way he did secondary.
He triggers it at the same time as primary, that's all you see there. It never restarts.

But to give you a hand here's the entire logic tree as I would do it OnShow of a CombatBubble with the correct ShadowStyle and colors:

Code:
if (RangedAutoAttack) {
	start ranged bar;
} else {
	if (SecondaryDelay) {
		if (PrimaryBar.Position == SecondaryBar.Position) {
			trigger PrimaryBar;
			trigger SecondaryBar;
		}elseif (PrimaryBar.Position < SecondaryBar.Position) {
			trigger PrimaryBar;
		}else{
			trigger SecondaryBar;
		}
	}else{
		trigger PrimaryBar;
	}
}
That way you will only ever start a bar based on a combat bubble showing, and when dual wielding you will always trigger the bar which is closest to zero, i.e. even given the variance the only reasonable candidate for the next auto-attack.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.