void OnLeaderSkillConditionChanged(PacketEnums.pe_UseLeaderSkillType condition) { m_LeaderSkill.Init(m_LeaderSkill.LeaderCreature, condition, OnLeaderSkill); if (m_CurrentTeam != null) { m_CurrentTeam.SetLeaderCreature(m_LeaderSkill.LeaderCreature, m_LeaderSkill.UseLeaderSkillType); } }
void OnLeaderSkillConditionChanged(PacketEnums.pe_UseLeaderSkillType condition) { m_LeaderSkill.Init(m_LeaderSkill.LeaderCreature, condition, OnLeaderSkill); SaveTeamData(); }