public void SetBuffTextShowUp(int skillunique, NkBattleChar ActionBattleChar) { if (this.m_nlDeadSolList.Count > 0) { return; } if (Battle.BATTLE.ColosseumObserver) { return; } if (this.m_dwBuffIcon.Visible) { return; } if (!NrTSingleton <BattleSkill_Manager> .Instance.GetBuffSkillTextUse()) { return; } if ((Battle.BATTLE.BattleRoomtype == eBATTLE_ROOMTYPE.eBATTLE_ROOMTYPE_BABELTOWER || Battle.BATTLE.BattleRoomtype == eBATTLE_ROOMTYPE.eBATTLE_ROOMTYPE_BOUNTYHUNT) && Battle.BabelPartyCount != 1) { return; } BATTLESKILL_BASE battleSkillBase = NrTSingleton <BattleSkill_Manager> .Instance.GetBattleSkillBase(skillunique); if (battleSkillBase == null) { return; } if (ActionBattleChar != null) { if (NrTSingleton <BattleSkill_Manager> .Instance.GetBattleSkillDESC(skillunique) == string.Empty) { return; } if (!this.CheckBattleSkillUnique(battleSkillBase.m_nSkillUnique)) { return; } this.m_dwBuffIcon.Clear(); this.m_lbBuffText.Clear(); this.SetBattleSkillUnique(battleSkillBase.m_nSkillUnique); this.m_dwBuffIcon.SetSolImageTexure(eCharImageType.SMALL, ActionBattleChar.GetCharKindInfo().GetCharKind(), -1); string empty = string.Empty; NrTSingleton <CTextParser> .Instance.ReplaceParam(ref empty, new object[] { NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(battleSkillBase.m_nSkillDESC), "targetname", ActionBattleChar.GetCharName() }); this.m_lbBuffText.SetText(empty); base.AllHideLayer(); base.SetShowLayer(this.BUFFSKILLTEXT_LAYER_1, true); this.m_fBuffIconTime = Time.time; } else { string text = string.Empty; for (int i = 0; i < 2; i++) { if (this.CheckBuffIconUnique(battleSkillBase.m_nBuffIconCode[i])) { text = battleSkillBase.m_nBuffIconCode[i]; string battleSkillBuffIconDESC = NrTSingleton <BattleSkill_Manager> .Instance.GetBattleSkillBuffIconDESC(text); UIBaseInfoLoader battleSkillBuffIconTexture = NrTSingleton <BattleSkill_Manager> .Instance.GetBattleSkillBuffIconTexture(text); this.m_dwBuffIcon.Clear(); this.m_lbBuffText.Clear(); if (battleSkillBuffIconDESC != string.Empty && battleSkillBuffIconTexture != null) { this.SetBuffIconUnique(text); this.m_dwBuffIcon.SetTexture(battleSkillBuffIconTexture); this.m_lbBuffText.SetText(NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(battleSkillBuffIconDESC)); base.AllHideLayer(); base.SetShowLayer(this.BUFFSKILLTEXT_LAYER_1, true); this.m_fBuffIconTime = Time.time; } else { base.AllHideLayer(); base.SetShowLayer(this.BUFFSKILLTEXT_LAYER_1, false); } return; } } } }