• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Here's how to check for Rampage and Swarm pets !

Joined
Sep 12, 2004
RedCents
720¢
Although I love KissAssist.mac sometimes i like to use my own specialized macro for pulling and combating with my mage...

However ... Sometimes I run into a situation where if i still have my rampage pet up from last kill... when i go to pull a mob with non agro spell... and it is a caster.. and i get cast upon when the mob is farther out than my distance to engage it... the rampage pet rushes it and engages.

It would cause the mob to fall below the assist at threshold for my other toons using KissAssist in assist mode and they will engage it at that far distance... and my mage would never engage it in combat .. because the mob did not enter into my preferred distance range to engage it.

I needed a solution to check for the existence of any of my rampage pets being still up BEFORE i call my pull sub.

here is the solution... i just call this sub i wrote immediately before i call the pull sub.

SUB: CheckRampPets
Rich (BB code):
|-------------------------------------------------------------------------------- 
|SUB: CheckRampPets
|-------------------------------------------------------------------------------- 
Sub CheckRampPets

/declare i int local

|----------------------------------------------
| Wait for rampage pets to poof before pulling.
|----------------------------------------------
/for i 0 to 20
    /if (${Spawn[${Me.CleanName}`s_pet0${i}].ID}) /echo +++ My rampage pet is up: (${Spawn[${Me.CleanName}`s_pet0${i}]}|${Spawn[${Me.CleanName}`s_pet0${i}].ID}), HOLDING . . .
    :WaitOnRampagePets
    /delay 1
    /if (${Spawn[${Me.CleanName}`s_pet0${i}].ID}) /goto :WaitOnRampagePets
/next i

/echo - No rampage pet is active, starting pulls.

/return
|--------------------------------------------------------------------------------

It works beautiful ... once i realized that there is a tilda ( ` ) and not an apostrophe ( ' ) in the naming convention.. lol

I have the for loop set to 20... because as a mage I can only have a max of 3 rampage pets overlapping at any one time due to extended swarm pet aa's and abilities.... BUT this should work for necro swarm pets if the naming convention is the same... so setting it to 20 max is just fine.

It also works on swarm pets for mage via Host of Elements ....not just rampage pets

Hope this helps anyone out there that needs it as well........

As always... trying to help the community.
 
Last edited:
Actually had to revisit this code .. for a side project... knew I had a solution for it. but damned if i knew where it was other than this site.. lol
 
Here's how to check for Rampage and Swarm pets !

Users who are viewing this thread

Back
Top
Cart