mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[11770] Implement dummy effect of spell 40962
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
5310a7a0ea
commit
cb685b3214
2 changed files with 17 additions and 1 deletions
|
|
@ -1346,6 +1346,22 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
DoCreateItem(eff_idx, newitemid);
|
||||
return;
|
||||
}
|
||||
case 40962: // Blade's Edge Terrace Demon Boss Summon Branch
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
uint32 spell_id = 0;
|
||||
switch (urand(1,4))
|
||||
{
|
||||
case 1: spell_id = 40957; break; // Blade's Edge Terrace Demon Boss Summon 1
|
||||
case 2: spell_id = 40959; break; // Blade's Edge Terrace Demon Boss Summon 2
|
||||
case 3: spell_id = 40960; break; // Blade's Edge Terrace Demon Boss Summon 3
|
||||
case 4: spell_id = 40961; break; // Blade's Edge Terrace Demon Boss Summon 4
|
||||
}
|
||||
unitTarget->CastSpell(unitTarget, spell_id, true);
|
||||
return;
|
||||
}
|
||||
case 42287: // Salvage Wreckage
|
||||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11769"
|
||||
#define REVISION_NR "11770"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue