|
@@ -205,18 +205,6 @@ public class Pack : SkillRoot
|
|
|
}
|
|
|
|
|
|
|
|
|
- protected void UseB()
|
|
|
- {
|
|
|
- if (!string.IsNullOrEmpty(CoinFml))
|
|
|
- {
|
|
|
- double coin = Auxiliary.FmlParse(CoinFml, "l", ManaCenter.Level.ToString(), "c", ManaCenter.CoinPerson.ToString("0.000"));
|
|
|
-
|
|
|
- ManaCenter.AddCoin(coin, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Shop);
|
|
|
- }
|
|
|
-
|
|
|
- ManaCenter.AddDiamond(DiamondOnce, StaticsManager.ItemID.获得钻石, StaticsManager.ConsumeModule.Charge);
|
|
|
- }
|
|
|
-
|
|
|
protected void UseA()
|
|
|
{
|
|
|
ManaCenter.SkillPlus += Plus;
|
|
@@ -283,6 +271,8 @@ public class Pack : SkillRoot
|
|
|
int tempCoin = 0;
|
|
|
int tempDiamond = (int) DiamondOnce;
|
|
|
|
|
|
+ ManaCenter.AddDiamond(DiamondOnce, StaticsManager.ItemID.获得钻石, StaticsManager.ConsumeModule.Charge);
|
|
|
+
|
|
|
string tempFlower = "";
|
|
|
|
|
|
if (!string.IsNullOrEmpty(Flower))
|
|
@@ -322,19 +312,19 @@ public class Pack : SkillRoot
|
|
|
{
|
|
|
int coin = (int) Auxiliary.FmlParse(CoinFml, "l", ManaCenter.Level.ToString(), "c", ManaCenter.CoinPerson.ToString("0.000"));
|
|
|
|
|
|
- ManaCenter.AddCoin(coin, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Charge);
|
|
|
+ ManaCenter.AddCoin(coin, StaticsManager.ItemID.获得金币, StaticsManager.ConsumeModule.Shop);
|
|
|
|
|
|
tempCoin += coin;
|
|
|
}
|
|
|
|
|
|
if (!tempCoin.Equal(0))
|
|
|
{
|
|
|
- sb.AppendFormat("{0}{1}{2} ", Language.GetStr("UI", "J_Info0"), "<(金币)>", tempCoin);
|
|
|
+ sb.AppendFormat("{0}{1}{2} ", Language.GetStr("UI", "J_Info0"), "<(金币)>", Auxiliary.ShrinkNumberStr(tempCoin));
|
|
|
}
|
|
|
|
|
|
if (!tempDiamond.Equal(0))
|
|
|
{
|
|
|
- sb.AppendFormat("{0}{1}{2} ", Language.GetStr("UI", "J_Info0"), "<(钻石)>", tempDiamond);
|
|
|
+ sb.AppendFormat("{0}{1}{2} ", Language.GetStr("UI", "J_Info0"), "<(钻石)>", Auxiliary.ShrinkNumberStr(tempDiamond));
|
|
|
}
|
|
|
|
|
|
if (!string.IsNullOrEmpty(tempFlower))
|
|
@@ -360,7 +350,6 @@ public class Pack : SkillRoot
|
|
|
}
|
|
|
|
|
|
UseA();
|
|
|
- UseB();
|
|
|
}
|
|
|
|
|
|
|