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
@ DATA_PROFESSOR_PUTRICIDE
Definition: icecrown_citadel.h:92
@ 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
@ POWER_ENERGY
Definition: SharedDefines.h:272
@ SPELL_CUSTOM_ERROR_TOO_MANY_ABOMINATIONS
Definition: SharedDefines.h:1230
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
@ 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
DBCStorage< SummonPropertiesEntry > sSummonPropertiesStore(SummonPropertiesfmt)
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:210
virtual uint32 GetData(uint32) const
Definition: UnitAI.h:213
virtual void JustSummoned(Creature *)
Definition: CreatureAI.h:134
Definition: Creature.h:43
void SetInCombatWithZone()
Set in combat all units in the dungeon/raid. Affect only units with IsAIEnabled.
Definition: Creature.cpp:2811
CreatureAI * AI() const
Definition: Creature.h:140
Definition: TemporarySummon.h:40
Player * ToPlayer()
Definition: Object.h:201
void SetStatFloatValue(uint16 index, float value)
Definition: Object.cpp:790
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
Map * GetMap() const
Definition: Object.h:536
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1203
Definition: Position.h:27
void GetPosition(float &x, float &y) const
Definition: Position.h:121
Definition: Player.h:1081
bool IsVehicle() const
Definition: Unit.h:757
void SetPower(Powers power, uint32 val, bool withPowerUpdate=true, bool fromRegenerate=false)
Definition: Unit.cpp:15566
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
void SetMaxPower(Powers power, uint32 val)
Definition: Unit.cpp:15631
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:1167
void SetCreatorGUID(ObjectGuid creator)
Definition: Unit.h:681
void setPowerType(Powers power)
Definition: Unit.cpp:9979
bool IsInCombat() const
Definition: Unit.h:884
Definition: InstanceScript.h:142
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:98
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
static void SendCastResult(Player *caster, SpellInfo const *spellInfo, uint8 castCount, SpellCastResult result, SpellCustomErrors customError=SPELL_CUSTOM_ERROR_NONE)
Definition: Spell.cpp:4674
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition: SpellScript.cpp:590
Unit * GetOriginalCaster()
Definition: SpellScript.cpp:406
Definition: DBCStructure.h:1908