| | |
| | |
|
| | | public void PowerAdd(long power)
|
| | | {
|
| | | if (UIManager.Instance.IsOpened<NewBieWin>() )
|
| | | {
|
| | | if (UIManager.Instance.GetUI<NewBieWin>().IsFuncOpenGuide())
|
| | | {
|
| | | return;
|
| | | }
|
| | | }
|
| | |
|
| | | if (prowBool)
|
| | | {
|
| | | prowNum = power;
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | if (hero.IsInTeamByTeamType(TeamType.Story))
|
| | | if (hero.IsInTeamByTeamType(BattlePreSetType.Story))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | prowNum = hero.CalculatePower();
|
| | | prowNum = hero.CalculateFightPower();
|
| | | prowNumChange = prowNum - HeroUIManager.Instance.lastFightPower.Value;
|
| | | HeroUIManager.Instance.lastFightPower = new KeyValuePair<string, long>();
|
| | | isAdd = prowNumChange > 0;
|