Exemple #1
0
        protected override void OnSongStarted()
        {
            base.OnSongStarted();

            m_HealTimer = Timer.DelayCall(TimeSpan.FromSeconds(2.0), TimeSpan.FromSeconds(4.0), () =>
            {
                int music, peace, provo, disco;
                GetSkillBonus(out music, out peace, out provo, out disco);

                int points = (int)Math.Ceiling(4 + 1.5 * (music + provo) + disco + peace);
                Targets.Each(m => m.Heal(points + Utility.Random(4), Caster));
            });
        }