EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Possible to casting of a specific spell .. OR (https://www.eqemulator.org/forums/showthread.php?t=40976)

askyn 10-15-2016 07:38 PM

Possible to casting of a specific spell .. OR
 
Hi all /wave

I am wondering if its possible ( easily rofl ) to disable a bot from casting a specific spell?

OR .. better yet .. have it actually cast a specific spell.

I'm thinking / referring to shaman bots and sow.

Right now, when I ask for a speedmovement buff, it casts scale of wolf.

This spell is a little faster then sow, but drops as soon as you do a hostile action ( ie cast spell, attack etc ).

I would MUCH prefer normal Sow (spirit of wolf) to be cast on me for movement / pulling etc.

Thank you

Larry

Uleat 10-15-2016 07:54 PM

You're speaking of using the bot commands to cast this spell?


EDIT:

The only current option in the new command system is 'group.'


Bot commands spells are dynamically loaded and are essentially based on caster level..and maybe a few extra criteria.

Are you playing on your own server or someone else's?

DanCanDo 10-15-2016 09:44 PM

If you have a druid bot, target and type ^sow group (he will cast pack shrew)
If it's your own server, GM cmd #castspell 278 for spirit of wolf

askyn 10-18-2016 02:33 PM

This is on my own server.
I am tring to avoid using any GM commands etc., it can make it too easy and i want to avoid the escalation of using abilities outside of what the character / bots would naturally have.

Basically I guess, im tring to see if there is a way of telling a bot to cast a specific spell. In this case it would be to cast Sow instead of Scale of Wolf ( I scale, personally, to be a pretty useless spell on live. Just my opion ) for a speed buff.

Uleat 10-18-2016 02:55 PM

I honestly don't know whether the bot spell ai accounts for sow buffs or not..probably not since there was a command to handle it before.

If you want a quick fix, I can probably throw something together in a few lines and post the changes needed.


EDIT: Disregard this edit..I was missing a criterion...

Uleat 10-18-2016 05:13 PM

Ok, I committed a change that allows the use of a 'sow' argument.

^sow - chooses a single-target, level-appropriate movement speed spell
^sow group - chooses a group-target, level-appropriate movement speed spell

^sow sow - forces the use of the single-target "Spirit of Wolf" spell (id: 278)


Just update your local repo, rebuild, and move your new binaries over to take advantage of this.

DanCanDo 10-18-2016 06:13 PM

Quote:

Originally Posted by Uleat (Post 251885)
Ok, I committed a change that allows the use of a 'sow' argument.

Nice Uleat :) Thank You!

Uleat 01-29-2017 10:13 PM

[Update]

I did remove SE_NegateIfCombat movement spells from the bot command spell system.

Spells like 'Scale of Wolf' are no longer available.


All times are GMT -4. The time now is 01:16 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.