示例#1
0
        public override void OnHarmonySpecial()
        {
            Dischord.IsStunned = true;

            Utilities.IntervalCounter counter = new Utilities.IntervalCounter(TimeSpan.FromSeconds(PhysicsData3.SpecialStunTime));
            counter.IntervalTrigger += (s, e) =>
                {
                    Dischord.IsStunned = false;
                };
            World.Timers.AddTimerNextUpdate(counter, true);
        }
示例#2
0
        public override void OnHarmonySpecial()
        {
            SoundAssets5.ProjectileEarth.CreateInstance().Play();
            Harmony.IsSpiky_Aura = true;

            Utilities.IntervalCounter ic = new Utilities.IntervalCounter(TimeSpan.FromSeconds(PhysicsData5.NoGravLength));
            ic.IntervalTrigger += (s, e) =>
                {
                    Harmony.IsSpiky_Aura = false;
                };
            World.Timers.AddTimerNextUpdate(ic, true);
        }