mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7125] Work under pet talents
Coorrect update Talent Points on levelup / leveldown Unlearn other ranks of learned talent Fix typo in Pet::HasSpell (wrong result for removed spell) Allow .reset talents reset pet talent Implement SPELL_AURA_MOD_PET_TALENT_POINTS aura (hunter talent) Only reset pet talent from trainer unlearn. Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
ca7ac74134
commit
921914f87e
10 changed files with 225 additions and 72 deletions
|
|
@ -4152,6 +4152,7 @@ void Spell::EffectSummonPet(uint32 i)
|
|||
|
||||
NewSummon->InitStatsForLevel(petlevel);
|
||||
NewSummon->InitPetCreateSpells();
|
||||
NewSummon->InitTalentForLevel();
|
||||
|
||||
if(NewSummon->getPetType()==SUMMON_PET)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue