Re: KissAssist v9.1.2 Updated 09/15/2016 - Suck It Autobard
OK. After a little research I see why ${Spell[${castWhat}].Duration.TotalSeconds} is Used. This would be the same as, well almost the same as ${Me.CombatAbility[${Me.CombatAbility[${castWhat}]}].Duration.TotalSeconds}
I wish they would add the Spell TLO to the ${Me.CombatAbility[Name]} So you could do ${Me.CombatAbility[Name].Spell.Duration.TotalSeconds}
The ${Me.CombatAbility[Name]} returns an integer that points to the slot number the ability is in, and ${Me.CombatAbility[#]} returns the actual spell information of the ability.
- - - Updated - - -
I think you are correct. Both this:
and this:
will produce the same outcome.
OK. After a little research I see why ${Spell[${castWhat}].Duration.TotalSeconds} is Used. This would be the same as, well almost the same as ${Me.CombatAbility[${Me.CombatAbility[${castWhat}]}].Duration.TotalSeconds}
I wish they would add the Spell TLO to the ${Me.CombatAbility[Name]} So you could do ${Me.CombatAbility[Name].Spell.Duration.TotalSeconds}
The ${Me.CombatAbility[Name]} returns an integer that points to the slot number the ability is in, and ${Me.CombatAbility[#]} returns the actual spell information of the ability.
- - - Updated - - -
It doesn't need the second check for duration since it's already being checked by the first condition.
I think you are correct. Both this:
Rich (BB code):
/if (!${Spell[${castWhat}].Duration.TotalSeconds} || (${Spell[${castWhat}].Duration.TotalSeconds} && !${Me.ActiveDisc.ID})) {
and this:
Rich (BB code):
/if (!${Spell[${castWhat}].Duration.TotalSeconds} || !${Me.ActiveDisc.ID}) {
will produce the same outcome.


