|
@@ -71,6 +71,9 @@ namespace GameLogic.Hero
|
|
|
|
|
|
|
|
public HeroInfo Upgrade()
|
|
public HeroInfo Upgrade()
|
|
|
{
|
|
{
|
|
|
|
|
+ Dictionary<string, string> dictionary = new Dictionary<string, string>();
|
|
|
|
|
+ dictionary.Add("JingJie", heroData.heroPowerId.ToString());
|
|
|
|
|
+ DBManager.Instance.CustomEvent("Hero_levelup", dictionary);
|
|
|
int currentMiao = (int)((TimeHelper.ClientNow() - PlayerManager.Instance.myHero.heroData.upTime) / 1000);
|
|
int currentMiao = (int)((TimeHelper.ClientNow() - PlayerManager.Instance.myHero.heroData.upTime) / 1000);
|
|
|
|
|
|
|
|
float allexp = currentMiao * PlayerManager.Instance.myHero.powerUpConfig.AutoXiuwei;
|
|
float allexp = currentMiao * PlayerManager.Instance.myHero.powerUpConfig.AutoXiuwei;
|