mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
Implemented learn preview talents, fixed talents/glyph display
This commit is contained in:
parent
5a967caef4
commit
8f1edbf513
7 changed files with 55 additions and 15 deletions
|
|
@ -5373,12 +5373,13 @@ void Spell::EffectApplyGlyph(uint32 i)
|
|||
if(gp->TypeFlags != gs->TypeFlags)
|
||||
{
|
||||
SendCastResult(SPELL_FAILED_INVALID_GLYPH);
|
||||
return; // glyph slot missmatch
|
||||
return; // glyph slot mismatch
|
||||
}
|
||||
}
|
||||
|
||||
player->CastSpell(m_caster, gp->SpellId, true);
|
||||
player->SetGlyph(m_glyphIndex, glyph);
|
||||
player->SendTalentInfoData(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue