Esempio n. 1
0
 //On cast.
 public bool OnCast(ModCommon.ModCommon.Spell spell)
 {
     if (PlayerData.instance.GetBool("equippedCharm_44"))
     {
         HeroController.instance.ResetAirMoves();
     }
     return(true);
 }
Esempio n. 2
0
        private bool OverwriteSpells(ModCommon.ModCommon.Spell s)
        {
            if (s == ModCommon.ModCommon.Spell.Quake && !_floordetect.hasCelingAbove() && _acceptingInput)
            {
                _acceptingInput = false;
                Log("Pling, pa!");
                StartCoroutine(Groundpound());
            }

            Log("The following spell was casted " + s);
            return(false);
        }