Example #1
0
    public virtual void EndBattle()
    {
        if (m_passive != null)
        {
            m_passive.EndBattle();
        }

        GetHeroInfo().UpdateBuff(BuffUpdateType.EndBattle);

        GetHeroInfo().Record(null, HistoryStep.RecordType.EndBattle);

        GetHeroInfo().isActive = false;
    }