|
@@ -125,7 +125,7 @@ public class Auxiliary : Regist
|
|
|
|
|
|
if (Input.GetKeyDown(KeyCode.Z))
|
|
|
{
|
|
|
- //ManaCenter.Coin += 10000000;
|
|
|
+ ManaCenter.Coin += Amount.万万亿;
|
|
|
}
|
|
|
|
|
|
if (Input.GetKeyDown(KeyCode.X))
|
|
@@ -615,6 +615,12 @@ public class Auxiliary : Regist
|
|
|
|
|
|
return (longValue / temp) * temp;
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ long temp = (long)Amount.千亿;
|
|
|
+
|
|
|
+ return (longValue / temp) * temp;
|
|
|
+ }
|
|
|
}
|
|
|
else if (ManaLan.CurrentLan == Lan.ChineseSimplified || ManaLan.CurrentLan == Lan.ChineseTraditional)
|
|
|
{
|
|
@@ -640,9 +646,17 @@ public class Auxiliary : Regist
|
|
|
|
|
|
return (longValue / temp) * temp;
|
|
|
}
|
|
|
- }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ long temp = (long)Amount.千亿;
|
|
|
|
|
|
- throw new Exception();
|
|
|
+ return (longValue / temp) * temp;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ throw new Exception();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public static string ShrinkNumberStr(double value, int accuracy = 1)
|
|
@@ -679,6 +693,12 @@ public class Auxiliary : Regist
|
|
|
|
|
|
return OmitNumberStr(accuracy, str) + "T";
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ string str = (longValue / Amount.万亿).ToString();
|
|
|
+
|
|
|
+ return OmitNumberStr(accuracy, str) + "T";
|
|
|
+ }
|
|
|
}
|
|
|
else if (ManaLan.CurrentLan == Lan.ChineseSimplified)
|
|
|
{
|
|
@@ -704,6 +724,12 @@ public class Auxiliary : Regist
|
|
|
|
|
|
return OmitNumberStr(accuracy, str) + "万亿";
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ string str = (longValue / Amount.万亿).ToString();
|
|
|
+
|
|
|
+ return OmitNumberStr(accuracy, str) + "万亿";
|
|
|
+ }
|
|
|
}
|
|
|
else if (ManaLan.CurrentLan == Lan.ChineseTraditional)
|
|
|
{
|
|
@@ -729,9 +755,17 @@ public class Auxiliary : Regist
|
|
|
|
|
|
return OmitNumberStr(accuracy, str) + "萬億";
|
|
|
}
|
|
|
- }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ string str = (longValue / Amount.万亿).ToString();
|
|
|
|
|
|
- throw new Exception();
|
|
|
+ return OmitNumberStr(accuracy, str) + "萬億";
|
|
|
+ }
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ throw new Exception();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|