Skip to content

Commit

Permalink
Fix ArtifactTurnInQuest breaking all Artifacts (#261)
Browse files Browse the repository at this point in the history
Fixes a bug where all stats of an artifact (version) are reset globally
  • Loading branch information
NetDwarf authored Nov 29, 2020
1 parent b609e6a commit 0c92543
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions GameServer/gameutils/Atlantis/InventoryArtifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public InventoryArtifact(ItemTemplate template)
: base(template)

{
Template = Template.Clone() as ItemTemplate;
ArtifactID = ArtifactMgr.GetArtifactIDFromItemID(template.Id_nb);
ArtifactLevel = 0;
m_levelRequirements = ArtifactMgr.GetLevelRequirements(ArtifactID);
Expand Down

0 comments on commit 0c92543

Please sign in to comment.