private string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Stamina: " + tempClass.Stamina + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Intellect: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Resistance: " + tempClass.Resistance + "\n"; return(tempStats); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStats = "Stamina: " + tempClass.Stamina + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Intellect: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Resistance: " + tempClass.Resistance + "\n"; return(tempStats); } return("NO CLASS FOUND"); }
private string findClassStats(int classType) { string nothingFound = "No stats found!"; if (classType == 0) { BaseCharachterClass tempClass = new BaseWarriorClass(); string tempStats = "Strenght: " + tempClass.Stamina + "\n" + "Intelligence: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agillity: " + tempClass.Agillity + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Trading: " + tempClass.Trading + "\n" + "Luck: " + tempClass.Luck + "\n" + "Crit: " + tempClass.Crit; return(tempStats); } else if (classType == 1) { BaseCharachterClass tempClass = new BaseMageClass(); string tempStats = "Strenght: " + tempClass.Stamina + "\n" + "Intelligence: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agillity: " + tempClass.Agillity + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Trading: " + tempClass.Trading + "\n" + "Luck: " + tempClass.Luck + "\n" + "Crit: " + tempClass.Crit; return(tempStats); } return(nothingFound); }
private void Start() { newPlayer = new BasePlayer(); MageStats = GameObject.Find("BaseMageCharacter"); WarriorStats = GameObject.Find("BaseMageCharacter"); RogueStats = GameObject.Find("BaseMageCharacter"); BaseMageClass mageScript = MageStats.GetComponent <BaseMageClass>(); }
private string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = tempClass.Strength + "\n" + tempClass.Intelligence; return(tempStats); } return("No stats found"); }
private string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseArcherClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 3) { BaseCharacterClass tempClass = new BaseRougeClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 4) { BaseCharacterClass tempClass = new BasePriestClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 5) { BaseCharacterClass tempClass = new BaseWarlockClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 6) { BaseCharacterClass tempClass = new BasePaladinClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } else if (classSelection == 7) { BaseCharacterClass tempClass = new BaseEnhancerClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance + "\n" + "Intellect " + tempClass.Intellect + "\n" + "Strength " + tempClass.Strength + "\n" + "Agility " + tempClass.Agility + "\n" + "Resistance " + tempClass.Resistance + "\n" + "Mastery " + tempClass.Mastery; // Finish it off add all classes return(tempStats); } return("No Stats Found"); }
public string FindClassDescription(string characterClass) { if (characterClass == "Squire") { BaseCharacterClass tempClass = new BaseSquireClass(); return(tempClass.CharacterClassDescription); } else if (characterClass == "Mage") { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescription); } return("No class selected."); }
private string FindClassDescription(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescription); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); return(tempClass.CharacterClassDescription); } return("Coming Soon"); }
private string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = GenerateCharacterStatString(tempClass); return(tempStats); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStats = GenerateCharacterStatString(tempClass); return(tempStats); } return("No stats found"); }
public string FindClassStatValues(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance; return(tempStats); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStats = "Stamina " + tempClass.Stamina + "\n" + "Endurance " + tempClass.Endurance; return(tempStats); } return("No Stats to display"); }
//=============================== //PRIVATE METHODES! //=============================== private string findClassDesc(int classType) { string nothingFound = "Nothing found!"; if (classSelection == 0) { BaseCharachterClass tempClass = new BaseWarriorClass(); return(tempClass.CharacterClassDescription); } else if (classSelection == 1) { BaseCharachterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescription); } return(nothingFound); }
public string CharacterClassBio(int classSelection) //dohvara biografiju klase { string temp = "No class selected for showing bio"; if (classSelection == 0) { return(temp = new BaseMageClass().CharacterBio); } else if (classSelection == 1) { return(temp = new BaseWarriorClass().CharacterBio); } else if (classSelection == 2) { return(temp = new BaseSpearClass().CharacterBio); } return(temp); }
private string FindClassDescription(int classSelection) { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseArcherClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 3) { BaseCharacterClass tempClass = new BaseRougeClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 4) { BaseCharacterClass tempClass = new BasePriestClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 5) { BaseCharacterClass tempClass = new BaseWarlockClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 6) { BaseCharacterClass tempClass = new BasePaladinClass(); return(tempClass.CharacterClassDescrip); } else if (classSelection == 7) { BaseCharacterClass tempClass = new BaseEnhancerClass(); return(tempClass.CharacterClassDescrip); } return("No Class Found"); }
private string FindClassDescription(int classSelection) // trazi opis klase na osnovu selektovane klase i grid selecionog bara { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); return(tempClass.CharacterClassDescription); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); return(tempClass.CharacterClassDescription); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseSpearClass(); return(tempClass.CharacterClassDescription); } return("No class selected"); }
private string FindClassDescription(int selectedClass) { //if statements that will find and return the selected class desription if (selectedClass == 0) { BaseCharacter baseCharacter = new BaseWarriorClass(); return(baseCharacter.CharcaterClassDescription); } else if (selectedClass == 1) { BaseCharacter baseCharacter = new BaseMageClass(); return(baseCharacter.CharcaterClassDescription); } else if (selectedClass == 2) { BaseCharacter baseCharacter = new BaseRangerClass(); return(baseCharacter.CharcaterClassDescription); } return(""); }
private string FindClassStatValues(int classSelection) // trazi koleke su stat poeni na odredjenikm klasam ispisuje ih i vraca { if (classSelection == 0) { BaseCharacterClass tempClass = new BaseMageClass(); string tempStat = "Stamina: " + tempClass.Stamina + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Strenght: " + tempClass.Strenght + "\n" + "Agility: " + tempClass.Agility + "\n" + "Intelect: " + tempClass.Intelect + "\n" + "Resistance: " + tempClass.Resistance + "\n" + "Magic resistance :" + tempClass.MagicResistance; return(tempStat); } else if (classSelection == 1) { BaseCharacterClass tempClass = new BaseWarriorClass(); string tempStat = "Stamina: " + tempClass.Stamina + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Strenght: " + tempClass.Strenght + "\n" + "Agility: " + tempClass.Agility + "\n" + "Intelect: " + tempClass.Intelect + "\n" + "Resistance: " + tempClass.Resistance + "\n" + "Magic resistance :" + tempClass.MagicResistance; return(tempStat); } else if (classSelection == 2) { BaseCharacterClass tempClass = new BaseSpearClass(); string tempStat = "Stamina: " + tempClass.Stamina + "\n" + "Endurance: " + tempClass.Endurance + "\n" + "Strenght: " + tempClass.Strenght + "\n" + "Agility: " + tempClass.Agility + "\n" + "Intelect: " + tempClass.Intelect + "\n" + "Resistance: " + tempClass.Resistance + "\n" + "Magic resistance :" + tempClass.MagicResistance; return(tempStat); } return("No stats"); }
public string FindClassStats(string characterClass) { if (characterClass == "Squire") { BaseCharacterClass tempClass = new BaseSquireClass(); string tempStats = "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Vitality: " + tempClass.Vitality + "\n" + "Intelligence: " + tempClass.Intelligence; return(tempStats); } else if (characterClass == "Mage") { BaseCharacterClass tempClass = new BaseMageClass(); string tempStats = "Strength: " + tempClass.Strength + "\n" + "Agility: " + tempClass.Agility + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Vitality: " + tempClass.Vitality + "\n" + "Intelligence: " + tempClass.Intelligence; return(tempStats); } return("No class selected."); }
private BaseMageClass CreateMageEnemy() { BaseMageClass newEnemy = new BaseMageClass(); return(newEnemy); }
private string FindClassStatValues(int classSelection) { BaseCharacterClass tempClass; if(classSelection == 0) { tempClass = new BaseMageClass(); string tempStats = "Health: " + tempClass.Health + "\n" + "Mana: " +tempClass.Mana + "\n" + "Stamina: " + tempClass.Stamina + "\n" + "Strength: " + tempClass.Strength + "\n" + "Intellect: " + tempClass.Intellect + "\n" + "Dexterity: " + tempClass.Dexterity; return tempStats; }else if(classSelection == 1) { tempClass = new BaseWarriorClass(); string tempStats = "Health: " + tempClass.Health + "\n" + "Mana: " +tempClass.Mana + "\n" + "Stamina: " + tempClass.Stamina + "\n" + "Strength: " + tempClass.Strength + "\n" + "Intellect: " + tempClass.Intellect + "\n" + "Dexterity: " + tempClass.Dexterity; return tempStats; }else if(classSelection == 2) { tempClass = new BaseRangerClass(); string tempStats = "Health: " + tempClass.Health + "\n" + "Mana: " +tempClass.Mana + "\n" + "Stamina: " + tempClass.Stamina + "\n" + "Strength: " + tempClass.Strength + "\n" + "Intellect: " + tempClass.Intellect + "\n" + "Dexterity: " + tempClass.Dexterity; return tempStats; } return ""; }
private string FindClassDescription(int classSelection) { BaseCharacterClass tempClass; if(classSelection == 0) { tempClass = new BaseMageClass(); return tempClass.CharacterClassDescription; } else if(classSelection == 1) { tempClass = new BaseWarriorClass(); return tempClass.CharacterClassDescription; } else if(classSelection == 2) { tempClass = new BaseRangerClass(); return tempClass.CharacterClassDescription; } return "No Class selected"; }
//=============================== //PRIVATE METHODES! //=============================== private string findClassDesc(int classType) { string nothingFound = "Nothing found!"; if (classSelection == 0) { BaseCharachterClass tempClass = new BaseWarriorClass(); return tempClass.CharacterClassDescription; } else if (classSelection == 1) { BaseCharachterClass tempClass = new BaseMageClass(); return tempClass.CharacterClassDescription; } return nothingFound; }
private string findClassStats(int classType) { string nothingFound = "No stats found!"; if (classType == 0) { BaseCharachterClass tempClass = new BaseWarriorClass(); string tempStats = "Strenght: " + tempClass.Stamina + "\n" + "Intelligence: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agillity: " + tempClass.Agillity + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Trading: " + tempClass.Trading + "\n" + "Luck: " + tempClass.Luck + "\n" + "Crit: " + tempClass.Crit; return tempStats; } else if (classType == 1) { BaseCharachterClass tempClass = new BaseMageClass(); string tempStats = "Strenght: " + tempClass.Stamina + "\n" + "Intelligence: " + tempClass.Intellect + "\n" + "Strength: " + tempClass.Strength + "\n" + "Agillity: " + tempClass.Agillity + "\n" + "Dexterity: " + tempClass.Dexterity + "\n" + "Trading: " + tempClass.Trading + "\n" + "Luck: " + tempClass.Luck + "\n" + "Crit: " + tempClass.Crit; return tempStats; } return nothingFound; }