mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8517] Implement glyph 42747.
This commit is contained in:
parent
53fb04dc14
commit
9b57017256
2 changed files with 9 additions and 1 deletions
|
|
@ -448,6 +448,13 @@ m_isRemovedOnShapeLost(true), m_in_use(0), m_deleted(false)
|
|||
m_spellProto->Stances &&
|
||||
!(m_spellProto->AttributesEx2 & SPELL_ATTR_EX2_NOT_NEED_SHAPESHIFT) &&
|
||||
!(m_spellProto->Attributes & SPELL_ATTR_NOT_SHAPESHIFT));
|
||||
|
||||
if (caster && m_spellProto->Id == 22959) // Improved Scorch
|
||||
{
|
||||
// Glyph of Improved Scorch
|
||||
if (Aura* glyph = caster->GetDummyAura(56371))
|
||||
m_stackAmount = glyph->GetModifier()->m_amount;
|
||||
}
|
||||
}
|
||||
|
||||
Aura::~Aura()
|
||||
|
|
|
|||
|
|
@ -3438,7 +3438,8 @@ bool Unit::AddAura(Aura *Aur)
|
|||
// Aura can stack on self -> Stack it;
|
||||
if(aurSpellInfo->StackAmount)
|
||||
{
|
||||
i2->second->modStackAmount(1);
|
||||
// can be created with >1 stack by some spell mods
|
||||
i2->second->modStackAmount(Aur->GetStackAmount());
|
||||
delete Aur;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue