169 {
172 return;
173
177
179
180
183
184 else
186 }
constexpr auto IN_MILLISECONDS
Definition: Common.h:53
constexpr auto MINUTE
Definition: Common.h:47
bool roll_chance_i(int chance)
Definition: Random.h:59
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_ROGUE_CHEATING_DEATH
Definition: spell_rogue.cpp:35
@ SPELL_ROGUE_CHEAT_DEATH_COOLDOWN
Definition: spell_rogue.cpp:34
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081
bool HasSpellCooldown(uint32 spell_id) const override
Definition: Player.cpp:16364
void AddSpellCooldown(uint32 spell_id, uint32 itemid, uint32 end_time, bool needSendToClient=false, bool forceSendToSpectator=false) override
Definition: Player.cpp:11120
uint32 GetDamage() const
Definition: Unit.h:364
uint32 GetHealth() const
Definition: Unit.h:1029
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
uint32 CountPctFromMaxHealth(int32 pct) const
Definition: Unit.h:1042
Unit * GetTarget() const
Definition: SpellScript.cpp:1165
uint32 absorbChance
Definition: spell_rogue.cpp:149