mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user