Need explanation of this syntax for spell lists

sumoslim

Well-Known Member
Here is a copy of my inquis spell list - can anyone tell me what the numbers after setting name mean?? I put them in italics. I am especially interested in the second number.

<Setting name="10,386">Wondrous Buckling</Setting>
<Setting name="10,389">Shield Ally</Setting>
<Setting name="10,390">Holy Shield</Setting>
<Setting name="10,392">Divine Aura</Setting>
<Setting name="10,393">Turn Undead</Setting>
<Setting name="10,394">Protection from Undead</Setting>
<Setting name="11,339">Divine Awakening</Setting>
<Setting name="11,71">Torment II</Setting>
<Setting name="12,7">Penance</Setting>
<Setting name="13,501">Odyssey</Setting>
<Setting name="13,180">Disorientation</Setting>
<Setting name="14,15">Malevolent Diatribe</Setting>
<Setting name="14,10">Alleviation</Setting>
<Setting name="15,335">Radiance</Setting>
<Setting name="15,4">Ministration III</Setting>
<Setting name="16,35">Tenacity II</Setting>
<Setting name="16,21">Fanatic\'s Faith</Setting>
<Setting name="17,260">Invocation III</Setting>
<Setting name="18,336">Repentance</Setting>
<Setting name="18,1">Fanatical Healing III</Setting>
 

mistrornge

Active Member
I believe the first number is the level the spell is received and the second number is the ID code or some such of the spell. So I believe spells of the same line can have the same second number but will have different first numbers. Like Darksong Blade I may have "1,12" and Darksong Blade II would have "12,12"
AAs will occasionally have weird "levels" they are received also.
 

Amadeus

The Maestro
Staff member
Yes, the first number is the level and the second number is as arbitrary "type" number that was decided upon by the original script author. So, if you're adding a spell/ability that is unlike any other spell/ability already in the file, then you'll want to use a new number in that slot (just look through and see what the highest number in use is currently.) However, if you're adding an upgrade to a spell/ability that already exists in the file, then you'll want to use the number that is already in use for that spell/ability.
 

sumoslim

Well-Known Member
Thanks.

Is there a spot that gives isxeq2 instructions about each spell type?
How does it know what to cast when?
 

Kannkor

Ogre
Thanks.

Is there a spot that gives isxeq2 instructions about each spell type?
How does it know what to cast when?
Nitpicking a little.. but you're asking for instructions about eq2bot, not ISXEQ2.

Scripts (such as eq2bot) have the ability to check when each spell is available to be cast. They can also match it against given scenarios (such as don't cast Assassinate if the heroic mob is under 5% health) etc. If you want information on the code to do such things, ISXEQ2 wiki provides a lot of information.
Link incase you don't have it: http://eq2.isxgames.com/wiki/index.php?title=Main_Page
You can also look at scripts (EQ2bot is an example, but adventure bots are quite large if you are new to scripting).

If you have a more specific question I'm sure someone could answer it also.
 
Top Bottom