卡牌更新
This commit is contained in:
@@ -54,9 +54,9 @@ namespace Continentis.MainGame
|
||||
{
|
||||
private static string GetAttribute(CardInstance card, string attributeName, bool higherIsBetter, bool inPercent)
|
||||
{
|
||||
string displayName = "Display" + attributeName;
|
||||
string baseName = "Base" + attributeName;
|
||||
string baseOffsetName = "Base" + attributeName + "Offset";
|
||||
string displayName = "Display_" + attributeName;
|
||||
string baseName = "Base_" + attributeName;
|
||||
string baseOffsetName = "Base_" + attributeName + "_Offset";
|
||||
|
||||
if (!inPercent)
|
||||
{
|
||||
@@ -74,7 +74,7 @@ namespace Continentis.MainGame
|
||||
|
||||
private static string GetAttribute(CardInstance card, string attributeName, bool inPercent)
|
||||
{
|
||||
string displayName = "Display" + attributeName;
|
||||
string displayName = "Display_" + attributeName;
|
||||
int displayValue = card.GetAttribute(displayName);
|
||||
return DynamicTextInterpreter.GetValue(displayValue, inPercent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user