Exemplo n.º 1
0
 protected override void ResetRuntime()
 {
     TranspositionCooldown.Reset();
     StoneficationCooldown.Reset();
     StoneficationEffect.Reset();
     StoneficationActive = false;
 }
Exemplo n.º 2
0
        public override void PostUpdate(HudManager Manager, bool UseEnabled, bool Dead)
        {
            if (StoneficationActive)
            {
                StoneficationEffect.ForceSetLastUsedFrom(StoneficationCooldown);

                if (StoneficationEffect.GetKD(false) == 0)
                {
                    DisableStonefication();
                }
            }

            if (!IsLocalPlayer())
            {
                return;
            }

            var Primary = ModActions.Primary;

            Primary.Active = !Dead;
            Primary.Update();

            var Side = ModActions.Side;

            Side.Active = !Dead;
            Side.Update();
        }
Exemplo n.º 3
0
        public override void Intro(IntroCutscene.CoBegin__d Cutscene)
        {
            base.Intro(Cutscene);

            StoneficationCooldown.UpdateForIntro(Cutscene);
            StoneficationEffect.UpdateForIntro(Cutscene);
            TranspositionCooldown.UpdateForIntro(Cutscene);
        }
Exemplo n.º 4
0
        public override void MeetingEnd(ExileController Exile)
        {
            base.MeetingEnd(Exile);

            StoneficationActive = false;
            StoneficationCooldown.UpdateForExile(Exile);
            StoneficationEffect.UpdateForExile(Exile);
            TranspositionCooldown.UpdateForExile(Exile);

            DisableStonefication();
        }