mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
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:
@@ -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');
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user