feraldarkness
Member
A lot of the spell list / routines seem wayyyy out dated for my DOV chars. Any one got a basic guide to how to change them / add in the next spells?
The second number is a made up number that defines the spell line. In that example, "80" is equal to Asylum. So Asylum, Asylum II, etc all would have 80 as the second number.one example of my question is this, in the spell list it has.
<Setting name="80,80">Asylum VI</Setting>
I am assuming I can just copy that line and change out the "80,80">asylum VI part to what my new spells are.
However, I do not know what the 80,80 is, I am fairly sure the first number is the spell level, but I do not understand the 2nd number?
I'm guessing you can make up a new number that is not currently in use.Awesome, and if I have a new unique spell? IE coercer AA physic trauma added for DOV ?
Ogrebot looks a lot nicer, however, dishing out for innerspace monthly, then isx, then ogrebot. ugh its just like one more step of annoyance. Wish they could form together and do like a $9.99 a month thing for all of it combined.I'm guessing you can make up a new number that is not currently in use.
I don't use eq2bot, Ogrebot doesn't require spell lists like this.
<Setting name="10,551">Psychic Trauma</Setting>
function Combat_Routine(int xAction)
;;;; BEGIN Spell Casting Routine
;;;; First check if there are multiple mobs on the pull and let's stun them so we can mez them if needed
if ${Me.Ability[${SpellType[551]}].IsReady} && (${Actor[${KillTarget}].IsEpic} || ${Actor[${KillTarget}].IsNamed}) && ${Actor[${KillTarget}].Health}<90 && ${Actor[${KillTarget}].Health}>20
{
call CastSpellRange 551 0 0 0 ${KillTarget} 0 0 0 1 2 0
}
Totally understandable. Problem is, it's 3 different people who develop each one. Anyways, Macker has the best responseOgrebot looks a lot nicer, however, dishing out for innerspace monthly, then isx, then ogrebot. ugh its just like one more step of annoyance. Wish they could form together and do like a $9.99 a month thing for all of it combined.
You rock, thanks for the input. I will be playing around with this some tonight!Adding new spells to an EQ2Bot class routine is a two step process. First, you need to add the spell to the spell list. As Kannkor suggested, you can largely pick any unused id for the second field, although depending on the class certain abilities will be clustered around certain id numbers. If you just want to take the easy way out, using a high id(550 or higher usually works).
So, for Psychic Trauma you could use:
Note, for AA's you should use level 10.Code:<Setting name="10,551">Psychic Trauma</Setting>
Now that the spell has been added to the spell list, you now need to add it into the combat routine. If you open up Coercer.iss and scroll down, you'll eventually come across a line starting:
Followed by a bunch of statements. The format of the combat routines varies quite a bit from class to class(some use the xAction stuff, others are more linear in nature).Code:function Combat_Routine(int xAction)
For the Coercer.iss file, it's fairly linear in nature. If you want to add Psychic Trauma to the list, you're probably best off scrolling down to the lines starting:
Put in a blank line after the second line and then add code similar to the following:Code:;;;; BEGIN Spell Casting Routine ;;;; First check if there are multiple mobs on the pull and let's stun them so we can mez them if needed
Note the SpellType[551] bit, this number needs to match what was used in the spell list earlier.Code:if ${Me.Ability[${SpellType[551]}].IsReady} && (${Actor[${KillTarget}].IsEpic} || ${Actor[${KillTarget}].IsNamed}) && ${Actor[${KillTarget}].Health}<90 && ${Actor[${KillTarget}].Health}>20 { call CastSpellRange 551 0 0 0 ${KillTarget} 0 0 0 1 2 0 }
The above if statement will check if spell id 551(Psychic Trauma in this case) is ready, make sure the target is either a named or epic mob and that it's health is between 90% and 20%. If all conditions are met, the bot will then cast spell id 551.
Hopefully the above is enough to get you started.
I haven't covered adding a toggle in the UI for a spell as that's significantly more complicated and I'm now bored of typing.