View Single Post
  #4  
Old 04-29-2012, 11:10 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Code:
bool IsRegularSingleTargetHealSpell(int16 spell_id) {
	bool result = false;

	if(spells[spell_id].effectid[0] == 0 && spells[spell_id].base[0] > 0 && spells[spell_id].targettype == ST_Target && spells[spell_id].buffduration == 0
		&& !IsFastHealSpell(spell_id) && !IsCompleteHealSpell(spell_id) && !IsHealOverTimeSpell(spell_id) && !IsGroupSpell(spell_id)) {
		result = true;
	}

	return result;
}
If this is what you mean, Complete Heal should already be excluded because of the check for !IsCompleteHealSpell(spell_id). Also, it's best to not add spell ids directly, as anyone with a custom spell file may not see the correct results (although the code for IsCompleteHealSpell does include spellid = 13, but it should probably be removed.

I would have to test this out to see why that change would have any effect, as it shouldn't with the complete heal check already in there..
Reply With Quote