165#define NPC_DARNAVAN RAID_MODE<uint32>(NPC_DARNAVAN_10, NPC_DARNAVAN_25, NPC_DARNAVAN_10, NPC_DARNAVAN_25)
166#define NPC_DARNAVAN_CREDIT RAID_MODE<uint32>(NPC_DARNAVAN_CREDIT_10, NPC_DARNAVAN_CREDIT_25, NPC_DARNAVAN_CREDIT_10, NPC_DARNAVAN_CREDIT_25)
167#define QUEST_DEPROGRAMMING RAID_MODE<uint32>(QUEST_DEPROGRAMMING_10, QUEST_DEPROGRAMMING_25, QUEST_DEPROGRAMMING_10, QUEST_DEPROGRAMMING_25)
171#define GUID_CULTIST 1
175 {-578.7066f, 2154.167f, 51.01529f, 1.692969f},
176 {-598.9028f, 2155.005f, 51.01530f, 1.692969f},
177 {-619.2864f, 2154.460f, 51.01530f, 1.692969f},
178 {-578.6996f, 2269.856f, 51.01529f, 4.590216f},
179 {-598.9688f, 2269.264f, 51.01529f, 4.590216f},
180 {-619.4323f, 2268.523f, 51.01530f, 4.590216f},
181 {-524.2480f, 2211.920f, 62.90960f, 3.141592f},
249 me->GetMotionMaster()->MoveChase(victim);
288 std::set<uint32> livingAddEntries;
293 livingAddEntries.insert(unit->GetEntry());
295 if (livingAddEntries.size() >= 5)
300 if (darnavan->IsAlive())
302 darnavan->setFaction(35);
303 darnavan->CombatStop(
true);
304 darnavan->GetMotionMaster()->MoveIdle();
306 darnavan->m_Events.AddEvent(
new DaranavanMoveEvent(*darnavan), darnavan->m_Events.CalculateTime(10000));
310 if (
Group* group = owner->GetGroup())
313 if (
Player* member = itr->GetSource())
333 darnavan->DespawnOrUnsummon();
386 summon->AI()->AttackStart(target);
584 std::list<Creature*> temp;
643 me->InterruptNonMeleeSpells(
true);
721 me->InterruptNonMeleeSpells(
true);
847 if (
Group* group = owner->GetGroup())
850 if (
Player* member = itr->GetSource())
863 me->DespawnOrUnsummon();
955 int32 missingHealth =
int32(caster->GetMaxHealth() - caster->GetHealth());
956 caster->ModifyHealth(missingHealth);
957 caster->ModifyPower(
POWER_MANA, -missingHealth);
985 if (
Unit* owner =
GetCaster()->ToTempSummon()->GetSummoner())
@ ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET
@ DIFFICULTY_10MAN_NORMAL
@ TEMPSUMMON_CORPSE_TIMED_DESPAWN
@ SPELL_EFFECT_FORCE_DESELECT
@ SPELL_SCHOOL_MASK_NORMAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ UNIT_FLAG_NOT_SELECTABLE
@ SPELL_INTIMIDATING_SHOUT
@ SPELL_SHADOW_CHANNELING
#define NPC_DARNAVAN_CREDIT
void AddSC_boss_lady_deathwhisper()
@ SPELL_DARK_MARTYRDOM_ADHERENT
@ SPELL_DARK_TRANSFORMATION_T
@ SPELL_VENGEFUL_BLAST_10H
@ SPELL_FANATIC_S_DETERMINATION
@ SPELL_DARK_TRANSFORMATION
@ SPELL_VENGEFUL_BLAST_PASSIVE
@ SPELL_SHORUD_OF_THE_OCCULT
@ SPELL_DARK_EMPOWERMENT_T
@ SPELL_TOUCH_OF_INSIGNIFICANCE
@ SPELL_DARK_MARTYRDOM_FANATIC
@ SPELL_VENGEFUL_BLAST_25N
@ SPELL_ADHERENT_S_DETERMINATION
@ SPELL_VENGEFUL_BLAST_25H
@ SPELL_INTIMIDATING_SHOUT
@ SPELL_SHADOW_CHANNELING
boss_lady_deathwhisper::boss_lady_deathwhisperAI DeathwisperAI
@ EVENT_P2_FROSTBOLT_VOLLEY
@ EVENT_DARNAVAN_INTIMIDATING_SHOUT
@ EVENT_DARNAVAN_SHATTERING_THROW
@ EVENT_ADHERENT_SHORUD_OF_THE_OCCULT
@ EVENT_P2_TOUCH_OF_INSIGNIFICANCE
@ EVENT_CULTIST_DARK_MARTYRDOM
@ EVENT_ADHERENT_FROST_FEVER
@ EVENT_ADHERENT_DEATHCHILL
@ EVENT_P1_REANIMATE_CULTIST
@ EVENT_ADHERENT_CURSE_OF_TORPOR
@ EVENT_DARNAVAN_MORTAL_STRIKE
@ EVENT_DARNAVAN_SUNDER_ARMOR
@ EVENT_FANATIC_NECROTIC_STRIKE
@ EVENT_P1_EMPOWER_CULTIST
@ EVENT_FANATIC_SHADOW_CLEAVE
@ EVENT_DARNAVAN_BLADESTORM
@ EVENT_FANATIC_VAMPIRIC_MIGHT
uint32 const SummonEntries[2]
@ SAY_DARK_TRANSFORMATION
Position const SummonPositions[7]
#define QUEST_DEPROGRAMMING
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
InstanceScript *const instance
BossAI(Creature *creature, uint32 bossId)
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
bool Execute(uint64, uint32)
DaranavanMoveEvent(Creature &darnavan)
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static Unit * GetUnit(WorldObject const &, uint64 guid)
HookList< EffectHandler > OnEffectHitTarget
SpellScriptLoader(const char *name)
StorageType::iterator iterator
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
void DoCastVictim(uint32 spellId, bool triggered=false)
void DoCastAOE(uint32 spellId, bool triggered=false)
void Kill(Unit *victim, bool durabilityLoss=true)
Player * GetCharmerOrOwnerPlayerOrPlayerItself() const
TempSummon * ToTempSummon()
virtual void SetDisplayId(uint32 modelId)
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void HandleEffect(SpellEffIndex)
PrepareSpellScript(spell_cultist_dark_martyrdom_SpellScript)
SpellScript * GetSpellScript() const OVERRIDE
spell_cultist_dark_martyrdom()
PrepareAuraScript(spell_deathwhisper_mana_barrier_AuraScript)
void HandlePeriodicTick(AuraEffect const *)
AuraScript * GetAuraScript() const OVERRIDE
spell_deathwhisper_mana_barrier()
@ NPC_REANIMATED_ADHERENT
CreatureAI * GetIcecrownCitadelAI(Creature *creature)
@ LIGHT_S_HAMMER_TELEPORT
Position const SummonPositions[10]
C::value_type const & SelectRandomContainerElement(C const &container)
void GetPosition(float &x, float &y) const
void DoStartNoMovement(Unit *target)
DifficultyID GetDifficulty() const
const T & RAID_MODE(const T &normal10, const T &normal25) const
ScriptedAI(Creature *creature)
void DoStartMovement(Unit *target, float distance=0.0f, float angle=0.0f)
void MoveInLineOfSight(Unit *who) OVERRIDE
void AttackStart(Unit *victim) OVERRIDE
boss_lady_deathwhisperAI(Creature *creature)
void JustReachedHome() OVERRIDE
void SpellHitTarget(Unit *target, SpellInfo const *spell) OVERRIDE
uint8 const _dominateMindCount
void EnterCombat(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void Summon(uint32 entry, const Position &pos)
std::deque< uint64 > _reanimationQueue
void SetGUID(uint64 guid, int32 id) OVERRIDE
uint64 _nextVengefulShadeTargetGUID
void KilledUnit(Unit *victim) OVERRIDE
void JustSummoned(Creature *summon) OVERRIDE
void JustDied(Unit *killer) OVERRIDE
void DamageTaken(Unit *, uint32 &damage) OVERRIDE
npc_cult_adherentAI(Creature *creature)
void SpellHit(Unit *, SpellInfo const *spell) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void SpellHit(Unit *, SpellInfo const *spell) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_cult_fanaticAI(Creature *creature)
void MovementInform(uint32 type, uint32 id) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void JustDied(Unit *killer) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
npc_darnavanAI(Creature *creature)
void SpellHitTarget(Unit *, SpellInfo const *spell) OVERRIDE
npc_vengeful_shadeAI(Creature *creature)