Healer group cure

sonatartica

Member
Hi,

with SF change, All healer have their group cure consolidated in a cure all (trauma, arcane, nox, elem) so i wanted to know what do i have to change in their scripts to make them use the group cure as it is now nad not only when it match the detrimental they was able to cure before

example : templar were curing trauma/arcane so the script only trigger if 3 or more player in the group have trauma/arcane detrimental

now the trick is to make them group cure when 3 or more players have ANY detrimental.

could someone take a look inside this ?

thx for the help !
 

bob_the_builder

Well-Known Member
In the Templar lines 651 - 685

Looks specifically like:

Code:
		if ${grpcure}>2
		{
			call CastSpellRange 220
			call CastSpellRange 221
		}
And line 674 is what counts the type of debuff, just add / change to what you want.
 

sonatartica

Member
i've modified this part

Code:
	;check for group cures, if it is ready and we are in a large enough group
	if ${Me.Ability[${SpellType[220]}].IsReady} && ${Me.GroupCount}>2
	{
		;check ourselves
		if ${Me.IsAfflicted}
		{
			;add ticks for group cures based upon our afflicions
			if ${Me.Arcane}>0 || ${Me.Trauma}>0 || ${Me.Noxious}>0 || ${Me.Elemental}>0
				grpcure:Inc
		}

		;loop group members, and check for group curable afflictions
		do
		{
			;make sure they in zone and in range
			if ${Me.Group[${temphl}].ToActor(exists)} && ${Me.Group[${temphl}].IsAfflicted} && ${Me.Group[${temphl}].ToActor.Distance}<${Me.Ability[${SpellType[210]}].Range}
			{
				if ${Me.Group[${temphl}].Arcane}>0 || ${Me.Group[${temphl}].Trauma}>0 || ${Me.Group[${temphl}].Noxious}>0 || ${Me.Group[${temphl}].Elemental}>0
					grpcure:Inc
			}
		}
		while ${temphl:Inc} <= ${Me.GroupCount}

		if ${grpcure}>2
		{
			call CastSpellRange 220
			call CastSpellRange 221
		}
	}

	;Cure Ourselves first
  if ${Me.IsAfflicted} && (${Me.Arcane}>0 || ${Me.Noxious}>0 || ${Me.Trauma}>0 || ${Me.Elemental}>0 || ${Me.Cursed})
		call CureMe

	;Cure Group Members - This will cure a single person unless epicmode is checkd on extras tab, in which case it will cure
	;	all afflictions unless group health or mt health gets low
	while ${Affcnt:Inc}<7 && ${Me.ToActor.Health}>30 && (${Me.Arcane}<1 && ${Me.Noxious}<1 && ${Me.Elemental}<1 && ${Me.Trauma}<1)
	{
		call FindAfflicted
		if ${Return}>0
			call CureGroupMember ${Return}
		else
			break
and i will try soon if it works thx
 
Top Bottom