Initial check-in of bard bot in combat song code.
This commit is contained in:
badcaptain
2013-10-11 23:43:38 -04:00
20 changed files with 86 additions and 73 deletions
+7
View File
@@ -987,6 +987,13 @@ bool IsSelfConversionSpell(uint16 spell_id) {
return false;
}
// returns true for both detrimental and beneficial buffs
bool IsBuffSpell(uint16 spell_id) {
if(IsValidSpell(spell_id) && (spells[spell_id].buffduration || spells[spell_id].buffdurationformula))
return true;
return false;
}
uint32 GetMorphTrigger(uint32 spell_id)
{
for(int i = 0; i < EFFECT_COUNT; ++i)
+1
View File
@@ -792,6 +792,7 @@ bool IsGroupHealOverTimeSpell(uint16 spell_id);
bool IsDebuffSpell(uint16 spell_id);
bool IsResistDebuffSpell(uint16 spell_id);
bool IsSelfConversionSpell(uint16 spell_id);
bool IsBuffSpell(uint16 spell_id);
uint32 GetMorphTrigger(uint32 spell_id);
uint32 GetPartialMeleeRuneReduction(uint32 spell_id);
uint32 GetPartialMagicRuneReduction(uint32 spell_id);