Core/GameObjects: Implemented gathering nodes (gameobject type 50)
Port From (https://github.com/TrinityCore/TrinityCore/commit/1011cb73c92ddb90589452f70a1dd33830689e32)
This commit is contained in:
@@ -1300,7 +1300,7 @@ namespace Game.Spells
|
||||
{
|
||||
// Allow one skill-up until respawned
|
||||
if (!gameObjTarget.IsInSkillupList(player.GetGUID()) &&
|
||||
player.UpdateGatherSkill(skillId, pureSkillValue, (uint)reqSkillValue))
|
||||
player.UpdateGatherSkill(skillId, pureSkillValue, (uint)reqSkillValue, 1, gameObjTarget))
|
||||
gameObjTarget.AddToSkillupList(player.GetGUID());
|
||||
}
|
||||
else if (itemTarget != null)
|
||||
|
||||
Reference in New Issue
Block a user