982 {
988
991 {
992 bool heroic = summon->GetMap()->IsHeroic();
993 bool raid = summon->GetMap()->Is25ManRaid();
994
995 if (heroic)
996 summon->SetPhaseMask(0x01 | 0x20, true);
998 summon->SetPhaseMask(0x01, true);
999 else
1000 summon->SetPhaseMask(0x20, true);
1001
1004
1007 }
1008 }
std::int32_t int32
Definition: Define.h:103
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SCALE_AURA
Definition: boss_halion.cpp:67
@ NPC_COMBUSTION
Definition: ruby_sanctum.h:78
@ EFFECT_1
Definition: SharedDefines.h:32
@ SPELLVALUE_AURA_STACK
Definition: SpellDefines.h:118
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
DBCStorage< SummonPropertiesEntry > sSummonPropertiesStore(SummonPropertiesfmt)
Definition: Creature.h:43
Map * GetMap() const
Definition: Object.h:536
Definition: Position.h:27
void GetPosition(float &x, float &y) const
Definition: Position.h:121
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
TempSummon * SummonCreature(uint32 entry, Position const &pos, SummonPropertiesEntry const *properties=nullptr, uint32 duration=0, WorldObject *summoner=nullptr, uint32 spellId=0, uint32 vehId=0, bool visibleBySummonerOnly=false)
Definition: Object.cpp:2174
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
SpellValue const * GetSpellValue()
Definition: SpellScript.cpp:657
Unit * GetCaster()
Definition: SpellScript.cpp:401
Definition: DBCStructure.h:1908