*Allow pets to cast devour magic on both friends and enemies.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-10 15:14:49 -06:00
parent 4182df058c
commit bcb39b263d
5 changed files with 61 additions and 26 deletions
+2
View File
@@ -537,6 +537,8 @@ class Spell
SpellTargets TargetType, uint32 entry = 0);
Unit* SearchNearbyTarget(float radius, SpellTargets TargetType, uint32 entry = 0);
void SearchChainTarget(std::list<Unit*> &data, Unit* pUnitTarget, float max_range, uint32 unMaxTargets);
bool IsValidSingleTargetEffect(Unit const* target, Targets type) const;
bool IsValidSingleTargetSpell(Unit const* target) const;
// -------------------------------------------
//List For Triggered Spells