Fixed line endings in 10623_world_spell_bonus_data

Scripts/Naxxramas: Fixed a possible crash in instance script

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-12 17:32:26 +01:00
parent 4b0ffeb0bd
commit dd2602d3ec
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (66922);
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(66922, 0, 0, 0, 0, 'Paladin - Flash of Light');
DELETE FROM `spell_bonus_data` WHERE `entry` IN (66922);
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
(66922, 0, 0, 0, 0, 'Paladin - Flash of Light');

View File

@@ -163,6 +163,11 @@ public:
AddMinion(creature, true);
}
void OnCreatureRemove(Creature* creature)
{
AddMinion(creature, false);
}
void OnGameObjectCreate(GameObject* go)
{
if (go->GetGOInfo()->displayId == 6785 || go->GetGOInfo()->displayId == 1287)