- Version of KissAssist.mac?
- 12.002
- When did your problem start?
- After trying to add a spell with the ambush tag to a ranger's .ini file
- Character Role?
- Assist
- What class is having this issue?
- Ranger
- How often does this issue occur?
- Always
So I had tried to set up a DPS line like this on my ranger (edited multiple places from hunter to ranger as I keep switching ranger and hunter as class names because of WoW forever but realize this is extremely confusing due to KA having the role of hunter):
I found that KA was never casting the spell. I did a search on the forums and found a couple people seemed to have brought up the issue before. I turned on dps debug and took a look and found that the function BeforeAttack just didn't seem to deal with spells. It seems set up to handle items, alternate abilities, disciplines, abilites, and even docommand lines, but not spells.
So I modified BeforeAttack and added the following for spells, and it seemed to work fine for my ranger, so thought I'd throw this out here in case, it would be a good idea to just add it to the base code.
Code:
DPS1=Stealthy Shot|99|ambush
I found that KA was never casting the spell. I did a search on the forums and found a couple people seemed to have brought up the issue before. I turned on dps debug and took a look and found that the function BeforeAttack just didn't seem to deal with spells. It seems set up to handle items, alternate abilities, disciplines, abilites, and even docommand lines, but not spells.
So I modified BeforeAttack and added the following for spells, and it seemed to work fine for my ranger, so thought I'd throw this out here in case, it would be a good idea to just add it to the base code.
Code:
} else /if (${Me.CombatAbility[${UseThis}]} && !${Me.CombatAbilityTimer[${UseThis}]} && ${Me.CombatAbilityReady[${UseThis}]} && ${Spell[${UseThis}].EnduranceCost}<${Me.Endurance}) {
/disc ${Me.CombatAbility[${Me.CombatAbility[${UseThis}]}].ID}
/echo ## Before Attack >> ${UseThis} <<
} else /if (${Me.Skill[${UseThis}]} && ${Me.AbilityReady[${UseThis}]}) {
/doability "${UseThis}"
/echo ## Before Attack >> ${UseThis} <<
| ---new for spells
} else /if (${Me.SpellReady[${UseThis}]}) {
/call CastWhat "${UseThis}" ${MyTargetID} BeforeAttack 0 0
/echo ## Before Attack >> ${UseThis} <<
| ---spells end
} else /if (${UseThis.Find[command:]}) {
/call CastCommand "${UseThis}" ${MyTargetID} 0
/echo ## Before Attack >> ${UseThis} <<
}
Last edited:

