|  |  |  | 
|---|
|  |  |  | propertyVariables["bookPer"] = GetBookPer(attrType) / 10000.0f; | 
|---|
|  |  |  | propertyVariables["realmValue"] = officialAttrs.ContainsKey(attrType) ? officialAttrs[attrType] : 0; | 
|---|
|  |  |  | propertyVariables["realmPer"] = GetOfficialPer(attrType) / 10000.0f; | 
|---|
|  |  |  | propertyVariables["gubaoValue"] = 0; | 
|---|
|  |  |  | propertyVariables["gubaoPer"] = 0; | 
|---|
|  |  |  | propertyVariables["hjgValue"] = 0; | 
|---|
|  |  |  | propertyVariables["hjgPer"] = 0; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //!!!单武将战力预览的话需要排除队伍影响战力,只算武将自身的上阵属性 | 
|---|
|  |  |  | propertyVariables["lineupInitAddPer"] = GetLineUpPer(attrType, "lineupInitAddPer") / 10000.0f; | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (config.showType == 1) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | fightPowerVariables[config.Parameter] = (ulong)GetPropertyVaule(config.ID, hero, propertyFormula); | 
|---|
|  |  |  | fightPowerVariables[config.Parameter] = Math.Round(GetPropertyVaule(config.ID, hero, propertyFormula), 3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | else | 
|---|
|  |  |  | { | 
|---|
|  |  |  | fightPowerVariables[config.Parameter] = (ulong)GetPropertyVaule(config.ID, hero, fightPropertyFormula); | 
|---|
|  |  |  | fightPowerVariables[config.Parameter] = Math.Round(GetPropertyVaule(config.ID, hero, fightPropertyFormula), 3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|