mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server
Initial check-in of bard bot in combat song code.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user