Self Rez (Spells) Inq / Necro

TheHaydens

Well-Known Member
If ${Me.ToActor.IsDead} && ${Me.Ability[${SpellType[511]}].IsReady} && ${Me.InCombat}
call CastSpellRange 511 0 0 0 ${Me.ID}

I got the script like that inside my "Class Routines" for the Inq and yes 511 is the spell int he spell list also, but confused which function to actually place it in?

I tried placing it in the "Combat Function" and also in the "Post Combat". Both times it will not trigger. Finally got desperate and placed it in the "Ping" section, still nothing. Any ideas would be great, This is so when the "inquisitor or Necro" die they will cast their self rez / group rez automatically spell and pop back up.. So the bot (Inq/Necro) has to be dead before "clicking" this spell and pop back up..

Suggestions??
 

TheHaydens

Well-Known Member
Can you be both dead and in combat at the same time? Maybe you meant to say !${Me.InCombat} ?
True but where at ??

inside which funtion?

function Combat_Routine(int xAction)
or
function Buff_Routine(int xAction)
or
function Post_Combat_Routine(int xAction)
 

TheHaydens

Well-Known Member
PHP:
If ${Me.ToActor.IsDead} && !${Me.InCombat} && ${Me.Ability[${SpellType[515]}].IsReady} 
			call CastSpellRange 515 0 0 0 ${Me.ID}
so far, and placed it in all 3, let's see if it finally triggers.. haha when in dought spam it!! lol
 

TheHaydens

Well-Known Member
PHP:
If ${Me.ToActor.IsDead} && !${Me.InCombat} && ${Me.Ability[${SpellType[515]}].IsReady} 
            call CastSpellRange 515 0 0 0 ${Me.ID}
so far, and placed it in all 3, let's see if it finally triggers.. haha when in dought spam it!! lol

Btw those didn't work... any other suggestions??
 

Nuprecon

Active Member
You're sure your spell export / list is up to date... 515 is really the right spell and all that?
 

Kannkor

Ogre
My suggestion is to debug it. Once you find out what isn't showing as you expect it to be, see if you can figure out why, and fix it, or remove it.

Do you even know if any of those are failing? Or is it failing inside of the CastSpellRange function?
 

Nuprecon

Active Member
I also just noticed that in your orig post you use "511" and in the last two code snips you used "515"... sup with that?
 

TheHaydens

Well-Known Member
I also just noticed that in your orig post you use "511" and in the last two code snips you used "515"... sup with that?
515 was the one for necro and 511 was one for the inq, they are correct, just verified.. You gave me hope it was a easy fix :*( haha
 

TheHaydens

Well-Known Member
I dont think you can CastSpell while dead.

Try:

EQ2Execute /useability "Res Spell Name"

I was thinking the same thing, I am going to have to increase the size of my EQ2botCommander because I really hate "tabbing" in combat.. But I will try this since it is the last possible option. Once I am able to get into the game I will try to useability..



That being said I'd personally add it to eq2botcommander instead. I'd hate to have my Inq waste the spell cause he ran off a ledge.
I actually ran into the same similar thing when I was boting the shadowknight (testing his new scripts out) he jumped off the ledge in UD (Sleeping Dragon) took a lot fo falling damage all of a sudden (Blood Siphon + DA triggered) I was like WTF!! && {In.Combat} got added quick including don't trigger if another one is on....
 

TheHaydens

Well-Known Member
~~~~~~~~~~~
IF I am going to have to add a button, I may just modify my "Tort Shell / Bladedance / Advance Warning" scripts to add a new button that does all the (Auto Rez now) and it will notify everyone in group/raid with the ability to Rez themselves to do so, that way it does everyone (one click) and if they are not dead, their spell won't be used, that way it's only one button = Universal
~~~~~~~~~~~
 

bob_the_builder

Well-Known Member
Yup, Id make a button. Auto-rez seems unecessary and potentially a waste of time (waiting for the spell to come back after just doing a stupid auto-rez after running off a cliff).

If you add something like that to the class script file I would highly recomend adding a radio button in the eq2bot UI to turn that auto-rez on/off (toggle).
 
Top Bottom