View Single Post
  #7  
Old 05-02-2012, 09:35 PM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

I think i figured it out. I found the code for the engaged bots trying to heal and noticed it doesnt have any entries for percentageheal or regular heals so im guessing thats where the problem lies.

EDIT - tried modifying to the following:

Code:
// Evaluate the situation
					if((IsEngaged()) && ((botClass == CLERIC) || (botClass == DRUID) || (botClass == SHAMAN) || (botClass == PALADIN))) {
						if(tar->GetTarget() && tar->GetTarget()->GetHateTop() && tar->GetTarget()->GetHateTop() == tar) {
							hasAggro = true;
						}
						if (hpr <= 35 ) {
							botSpell = GetBestBotSpellForFastHeal(this);
						}
						if ((hpr < 55) && (tar->GetArchetype() != ARCHETYPE_CASTER)) {
							botSpell = GetBestBotSpellForPercentageHeal(this);
						}
						
						if ((hpr > 35 && hpr < 70) && (tar->GetArchetype() == ARCHETYPE_CASTER)) {
							botSpell = GetBestBotSpellForRegularSingleTargetHeal(this);
						}
						
						else if(hpr >= 35 && hpr < 70){
							if(GetNumberNeedingHealedInGroup(60, false) >= 3)
								botSpell = GetBestBotSpellForGroupHeal(this);
still NO results, what am i missing?
Reply With Quote