mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 16:10:49 +01:00
@@ -1916,6 +1916,8 @@ bool Pet::Create(uint32 guidlow, Map* map, uint32 phaseMask, uint32 Entry, uint3
|
||||
if (!InitEntry(Entry))
|
||||
return false;
|
||||
|
||||
// Force regen flag for player pets, just like we do for players themselves
|
||||
SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_REGENERATE_POWER);
|
||||
SetSheath(SHEATH_STATE_MELEE);
|
||||
|
||||
return true;
|
||||
|
||||
@@ -334,7 +334,7 @@ class boss_algalon_the_observer : public CreatureScript
|
||||
{
|
||||
case ACTION_START_INTRO:
|
||||
{
|
||||
me->SetFlag(UNIT_FIELD_FLAGS_2, 0x20);
|
||||
me->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_INSTANTLY_APPEAR_MODEL);
|
||||
me->SetDisableGravity(true);
|
||||
DoCast(me, SPELL_ARRIVAL, true);
|
||||
DoCast(me, SPELL_RIDE_THE_LIGHTNING, true);
|
||||
|
||||
Reference in New Issue
Block a user