Initial check-in of bard bot in combat song code.
This commit is contained in:
badcaptain committed 2013-10-11 23:43:38 -04:00
commit 8ac4845930
20 files changed
+86 -73

No files matched your search

+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)