EQ2Bot - Templar script - Healing group members

msboy1

Well-Known Member
Howdy Y'all,

I have been noticing that my Templar hardly ever heals group members. He heals the MT fine, but occasionally group members will get agro from adds and the Templar will never heal them. Most of the time this happens, the MT is not low on health and both the single target heals are up and ready. The Templar just never seems to cast them.

I don't recall having this problem with an older version of the EQ2Bot Templar script, so I went and looked at the section related to group member heals.

Here is the old version:

Code:
	if ${Me.Group[${lowest}].ToActor.Health}< ${HealGroupPercent} && ${Me.Group[${lowest}].ToActor(exists)}
	{
		if ${Me.Ability[${SpellType[1]}].IsReady} && ${Me.Group[${lowest}].ToActor.Health}>-99 && ${Me.Group[${lowest}].ToActor(exists)}
		{
			call CastSpellRange 1 0 0 0 ${Me.Group[${lowest}].ToActor.ID}

		}
		else
		{
			call CastSpellRange 4 0 0 0 ${Me.Group[${lowest}].ToActor.ID}
		}

		hurt:Set[TRUE]
	}

And here is the new version:

Code:
	;now lets heal individual groupmembers if needed
	if ${lowest}
	{
		call UseCrystallizedSpirit 60

		if ${Me.Group[${lowest}].ToActor.Health}<70 && !${Me.Group[${lowest}].ToActor.IsDead} && ${Me.Group[${lowest}].ToActor(exists)}
		{
			if ${Me.Ability[${SpellType[4]}].IsReady}
				call CastSpellRange 4 0 0 0 ${Me.Group[${lowest}].ToActor.ID}
			else
				call CastSpellRange 1 0 0 0 ${Me.Group[${lowest}].ToActor.ID}
		}
	}

Anyone have any ideas why my Templar won't heal group members very often or know if there is a setting I am missing somewhere?

Thanks for your time.
 

sumoslim

Well-Known Member
Bringing this back to life.

Did anyone figure this out?
I was dredging through some templar script stuff since it doesnt seem to heal group members well - or cast group heal often enough.

What is the difference between the 2 scripts and should we change to the old way?

Thanks in advance.
 

bob_the_builder

Well-Known Member
The second script, the newer one, heals a group member if they are under 70 health and only heals them with the single target spells (1 and 4 look them up in the spell list). I like the way it checks better than the first one though but ...

Check the Inq script on how I changed the Inq to check group heals and reactives first then check single target heals. What was happening to my bot was the single target heals were not ready so they never cast
 
Top Bottom