Merge pull request #834 from eduardosmaniotto/bugfix/duplicate-rows
fix: duplicate rows in deserialized aggregate collections (cherry picked from commit f95498770ea1af30530a164f868f571ec30052b5)
This commit is contained in:
@@ -151,6 +151,7 @@ internal partial class NpcInitialization : Version095d.NpcInitialization
|
||||
damagePowerUp.TargetAttribute = Stats.GreaterDamageBonus.GetPersistent(this.GameConfiguration);
|
||||
damagePowerUp.Boost = this.Context.CreateNew<PowerUpDefinitionValue>();
|
||||
damagePowerUp.Boost.ConstantValue.Value = 45;
|
||||
damagePowerUp.Boost.ConstantValue.AggregateType = AggregateType.AddRaw;
|
||||
var damagePerLevel = this.Context.CreateNew<AttributeRelationship>();
|
||||
damagePerLevel.InputAttribute = Stats.Level.GetPersistent(this.GameConfiguration);
|
||||
damagePerLevel.InputOperand = 1f / 3;
|
||||
|
||||
Reference in New Issue
Block a user