架构大更
This commit is contained in:
@@ -19,12 +19,12 @@ namespace Continentis.MainGame.Character
|
||||
|
||||
private void Initialize(CharacterData characterData)
|
||||
{
|
||||
coreAttributeGroup = new AttributeGroup(characterData.coreAttributes);
|
||||
generalAttributeGroup = new AttributeGroup(characterData.generalAttributes);
|
||||
coreAttributeGroup = new AttributeGroup(characterData.coreAttributes.ToDictionary());
|
||||
generalAttributeGroup = new AttributeGroup(characterData.generalAttributes.ToDictionary());
|
||||
|
||||
RulesManager.Instance.attributeRulesMerger.convertCoreIntoGeneral(coreAttributeGroup.current, generalAttributeGroup.original);
|
||||
generalAttributeGroup.ApplyAllAttributes();
|
||||
generalAttributeGroup.SetUpEndowments(characterData.runtimeGeneralAttributes);
|
||||
generalAttributeGroup.SetUpEndowments(characterData.runtimeGeneralAttributes.ToDictionary());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user