1375 {
1378 if (!caster)
1379 return;
1380
1382 if (!instance)
1383 return;
1384
1386 if (!putricide)
1387 return;
1388
1390 {
1393 return;
1394 }
1395
1398
1402
1406 return;
1407
1411
1412
1416
1422 }
std::uint32_t uint32
Definition: Define.h:107
DBCStorage< SummonPropertiesEntry > sSummonPropertiesStore(SummonPropertiesfmt)
@ VEHICLE_SPELL_RIDE_HARDCODED
Definition: VehicleDefines.h:52
@ UNIT_FIELD_POWER_REGEN_INTERRUPTED_FLAT_MODIFIER
Definition: UpdateFields.h:113
@ UNIT_FIELD_POWER_REGEN_FLAT_MODIFIER
Definition: UpdateFields.h:112
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:114
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:148
@ SPELL_MUTATED_TRANSFORMATION_DAMAGE
Definition: boss_professor_putricide.cpp:108
@ SPELL_ABOMINATION_VEHICLE_POWER_DRAIN
Definition: boss_professor_putricide.cpp:106
@ SPELL_MUTATED_TRANSFORMATION_NAME
Definition: boss_professor_putricide.cpp:109
@ DATA_ABOMINATION
Definition: boss_professor_putricide.cpp:120
@ DATA_PROFESSOR_PUTRICIDE
Definition: icecrown_citadel.h:98
@ POWER_ENERGY
Definition: SharedDefines.h:272
@ SPELL_CUSTOM_ERROR_TOO_MANY_ABOMINATIONS
Definition: SharedDefines.h:1230
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:213
virtual uint32 GetData(uint32) const
Definition: UnitAI.h:213
virtual void JustSummoned(Creature *)
Definition: CreatureAI.h:133
Definition: Creature.h:46
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2806
CreatureAI * AI() const
Definition: Creature.h:143
Definition: TemporarySummon.h:40
Player * ToPlayer()
Definition: Object.h:198
void SetStatFloatValue(uint16 index, float value)
Definition: Object.cpp:790
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
Map * GetMap() const
Definition: Object.h:531
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
Definition: Position.h:28
void GetPosition(float &x, float &y) const
Definition: Position.h:122
Definition: Player.h:1064
bool IsVehicle() const
Definition: Unit.h:713
void SetPower(Powers power, uint32 val, bool withPowerUpdate=true, bool fromRegenerate=false)
Definition: Unit.cpp:15521
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
void SetMaxPower(Powers power, uint32 val)
Definition: Unit.cpp:15586
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1168
void SetCreatorGUID(ObjectGuid creator)
Definition: Unit.h:1213
void setPowerType(Powers power)
Definition: Unit.cpp:9941
bool IsInCombat() const
Definition: Unit.h:820
Definition: InstanceScript.h:142
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:95
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
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4661
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetOriginalCaster()
Definition: SpellScript.cpp:406
Definition: DBCStructure.h:1909