• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋

Request - Allow ranger spells like stealthy shot to work with ambush tag (2 Viewers)

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?
  1. Assist
What class is having this issue?
  1. Ranger
How often does this issue occur?
Always
So I had tried to set up a DPS line like this on my hunter:

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 hunter, 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} <<
                }
 
Request - Allow ranger spells like stealthy shot to work with ambush tag

Users who are viewing this thread

  • Back
    Top
    Cart