Skip to content

Commit

Permalink
Remove pet buffing from BuffMerchant
Browse files Browse the repository at this point in the history
  • Loading branch information
NetDwarf committed Oct 17, 2022
1 parent 0896a10 commit b32adf6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions GameServer/gameobjects/CustomNPC/BuffMerchant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public override int Mana

private Queue m_buffs = new Queue();
private const int BUFFS_SPELL_DURATION = 7200;
private const bool BUFFS_PLAYER_PET = true;

public override bool AddToWorld()
{
Expand All @@ -91,15 +90,6 @@ public void BuffPlayer(GamePlayer player, Spell spell, SpellLine spellLine)

m_buffs.Enqueue(new Container(spell, spellLine, player));

//don't forget his pet !
if(BUFFS_PLAYER_PET && player.ControlledBrain != null)
{
if(player.ControlledBrain.Body != null)
{
m_buffs.Enqueue(new Container(spell, spellLine, player.ControlledBrain.Body));
}
}

CastBuffs();

}
Expand Down

0 comments on commit b32adf6

Please sign in to comment.