You are on page 1of 1

private void setClasse(){

if (this.Classe == "Barbaro"){
this.HpTotal = 12 + this.ModCon + 12 * (this.Lvl - 1);
this.Ac = 10 + this.ModCon + this.ModDex;
}

public class Barbaro extends Ficha_Personagem {

public Barbaro(int Forct, int Dext, int Cont, int Sabt, int Intet, int Cart,
String Classe, String Raca,
String Nome) {
}

You might also like