public void ATIVAR(Personagem P1) { if (JANELA.J.RETROCEDERselect && P1.mana >= P1.manaTOTAL / 2) { Contagem = 0; ContagemGERADOR = 0; P1.mana -= P1.mana / 2; //joga tudo no escudo; P1.PODERretroceder = true; P1.VISUPODER(); // criar efeito especial } }
public void ATIVAR(Personagem P1) { if (JANELA.J.ESCUDOselect && P1.mana >= P1.VINTECINTOporcento) { Quantidade += P1.mana; Qtotal = Quantidade; Contagem = 0; P1.mana = 0; //joga tudo no escudo; P1.PODERescudo = true; P1.VISUPODER(); // criar efeito especial Audio.A1.EscudoSom.Play(); } }