예제 #1
0
 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);
     }
 }
예제 #2
0
 void OnLeaderSkillConditionChanged(PacketEnums.pe_UseLeaderSkillType condition)
 {
     m_LeaderSkill.Init(m_LeaderSkill.LeaderCreature, condition, OnLeaderSkill);
     SaveTeamData();
 }