Core/Unit: prevent COMMAND_ATTACK being added for Trained Rock Falcon.

Also added spells for Trained Rock Falcon to db.
This commit is contained in:
Malcrom committed 2013-12-15 13:43:18 -03:30
1 parent f0a742a8c4
commit a2e7191b26
2 files changed
+5 -2

No files matched your search

@@ -0,0 +1,2 @@
-- Trained Rock Falcon spells for quest 11470 "There Exists No Honor Among Birds"
UPDATE `creature_template` SET `spell1`=44422,`spell2`=44423,`spell3`=44424 WHERE `entry`=24783;
+3 -2
View File
@@ -13617,9 +13617,10 @@ void CharmInfo::InitPossessCreateSpells()
// Adding entrys to this switch will prevent COMMAND_ATTACK being added to pet bar.
switch (_unit->GetEntry())
{
case 40281: //Crashin' Thrashin' Racer
case 27664: //Crashin' Thrashin' Racer
case 23575: // Mindless Abomination
case 24783: // Trained Rock Falcon
case 27664: // Crashin' Thrashin' Racer
case 40281: // Crashin' Thrashin' Racer
break;
default:
InitEmptyActionBar();