Exemplo n.º 1
0
 public override void PreUpdate()
 {
     if (HasSymbiote && CurrentSymbiote.IsActive)
     {
         CurrentSymbiote?.UpdateTransformationStats(player);
     }
 }
Exemplo n.º 2
0
 public override void ProcessTriggers(TriggersSet triggersSet)
 {
     if (HasSymbiote)
     {
         if (SModInput.ActivateSymbiote.JustPressed)
         {
             CurrentSymbiote.IsActive = !CurrentSymbiote.IsActive;
             CurrentSymbiote.OnTransform(player);
         }
     }
 }
Exemplo n.º 3
0
        public override void PostUpdate()
        {
            if (HasSymbiote && CurrentSymbiote.IsActive)
            {
                CurrentSymbiote?.UpdateTransformationStats(player);
            }

            if (HasSymbiote && SymbioteState != null)
            {
                SymbioteState.UpdateAnimation();
            }
        }
Exemplo n.º 4
0
        public override void ResetEffects()
        {
            BlockControls = false;

            if (HasSymbiote && CurrentSymbiote.IsActive)
            {
                if (SymbioteState != null)
                {
                    SymbioteState.UpdateState(player);
                }

                CurrentSymbiote?.ResetTransformationEffects(player);
            }
        }