mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[10992] Add CastSpell part of dummy effect for spell 23138
Also limit max targets. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
f8680c119d
commit
7ab08fd6a4
3 changed files with 14 additions and 1 deletions
|
|
@ -1027,6 +1027,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
m_caster->CastSpell(m_caster, 13166, true, m_CastItem);
|
||||
return;
|
||||
}
|
||||
case 23138: // Gate of Shazzrah
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// Effect probably include a threat change, but it is unclear if fully
|
||||
// reset or just forced upon target for teleport (SMSG_HIGHEST_THREAT_UPDATE)
|
||||
|
||||
// Gate of Shazzrah
|
||||
m_caster->CastSpell(unitTarget, 23139, true);
|
||||
return;
|
||||
}
|
||||
case 23448: // Transporter Arrival - Ultrasafe Transporter: Gadgetzan - backfires
|
||||
{
|
||||
int32 r = irand(0, 119);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue