| | |
| | | |
| | | bool CanDelete() |
| | | { |
| | | if (hero.isAttrActive) |
| | | if (hero.isActive) |
| | | return false; |
| | | |
| | | return HeroUIManager.Instance.IsTheSameHeroFullStar(hero.heroId); |
| | |
| | | } |
| | | } |
| | | |
| | | void TeamPosChangeEvent(TeamType teamType) |
| | | void TeamPosChangeEvent(int teamType) |
| | | { |
| | | if (teamType != TeamType.Story) |
| | | if (teamType != TeamManager.Instance.GetMainTeamID()) |
| | | return; |
| | | fightPowerText.text = UIHelper.ReplaceLargeArtNum(hero.CalculateFightPower()); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | if (!hero.IsInTeamByTeamType(TeamType.Story)) |
| | | if (!hero.IsInTeamByTeamType(BattlePreSetType.Story)) |
| | | { |
| | | return; |
| | | } |