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
DBCStorage< SummonPropertiesEntry > sSummonPropertiesStore(SummonPropertiesfmt)
@ SPELLVALUE_AURA_STACK
Definition: SpellDefines.h:119
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:114
@ NPC_COMBUSTION
Definition: ruby_sanctum.h:78
@ SPELL_SCALE_AURA
Definition: boss_halion.cpp:67
@ EFFECT_1
Definition: SharedDefines.h:32
Definition: Creature.h:46
Map * GetMap() const
Definition: Object.h:531
Definition: Position.h:28
void GetPosition(float &x, float &y) const
Definition: Position.h:122
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:1225
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:2163
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:1909