예제 #1
0
 protected override void ResetRuntime()
 {
     TranspositionCooldown.Reset();
     StoneficationCooldown.Reset();
     StoneficationEffect.Reset();
     StoneficationActive = false;
 }
예제 #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();
        }
예제 #3
0
        public override void Intro(IntroCutscene.CoBegin__d Cutscene)
        {
            base.Intro(Cutscene);

            StoneficationCooldown.UpdateForIntro(Cutscene);
            StoneficationEffect.UpdateForIntro(Cutscene);
            TranspositionCooldown.UpdateForIntro(Cutscene);
        }
예제 #4
0
        public override void MeetingEnd(ExileController Exile)
        {
            base.MeetingEnd(Exile);

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

            DisableStonefication();
        }