Revert "Core/Pets: Water Elementals are now permanent pets" (wrong branch)

This reverts commit 0136c86054.

Also add line ending to recently added SQL file
This commit is contained in:
Shocker
2011-11-27 00:40:58 +02:00
parent 0136c86054
commit dd06dc75e6
2 changed files with 1 additions and 3 deletions

View File

@@ -3,4 +3,4 @@ INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(20911,'spell_gen_damage_reduction_aura'), -- Blessing of Sanctuary
(25899,'spell_gen_damage_reduction_aura'), -- Greater Blessing of Sanctuary
(63944,'spell_gen_damage_reduction_aura'), -- Renewed Hope
(50720,'spell_gen_damage_reduction_aura'); -- Vigilance
(50720,'spell_gen_damage_reduction_aura'); -- Vigilance

View File

@@ -1764,8 +1764,6 @@ bool Pet::IsPermanentPetFor(Player* owner)
return GetCreatureInfo()->type == CREATURE_TYPE_DEMON;
case CLASS_DEATH_KNIGHT:
return GetCreatureInfo()->type == CREATURE_TYPE_UNDEAD;
case CLASS_MAGE:
return GetCreatureInfo()->type == CREATURE_TYPE_ELEMENTAL;
default:
return false;
}