var characters = new Characters(); characters.createSamourai( "courtier", "m", "takahashi", "kitsuki", "kitsuki", 0, 0, { "investigation" : 2, "courtier" : 1, "etiquette" : 1 }); characters.createSamourai( "bushi", "m", "kaji", "mirumoto", "mirumoto bushi", 0, 0, { "defense" : 1, "kenjutsu" : 1, "meditation" : 1, "athletics" : 1 }); characters.createSamourai( "monk", "m", "kiyoshi", "asako", "asako henshin", 0, 0, { "calligraphy" : 1, "jiujutsu" : 1, "lore: theology": 1, "sincerity" : 1, "meditation" : 1, "medecine" : 1}); characters.createSamourai( "shugenja", "f", "", "tamori", "void mystic", 0, 0, { "calligraphy" : 1, "defense" : 1, "medecine" : 1, "spellcraft" : 1 }); characters.createSamourai( "shugenja", "f", "honami", "utaku", "meishodo shugenja", 0, 0, { "calligraphy" : 1, "craft: meishodo" : 1, "spellcast (research)" : 1, "kenjutsu" : 1 }) ; for(let j = 0 ; j < characters.size() ; j++){ characters.at(j).experience = 39; switch( characters.at(j).name.familly ){ case "utaku": characters.at(j).increaseTrait("willpower"); characters.at(j).increaseTrait("willpower"); break; case "tamori" : characters.at(j).increaseTrait("void"); characters.at(j).increaseTrait("void"); characters.at(j).increaseSkill("calligraphy"); characters.at(j).increaseSkill("defense"); characters.at(j).increaseSkill("medecine"); characters.at(j).increaseSkill("spellcraft"); break; case "asako" : characters.at(j).increaseSkill("willpower"); characters.at(j).increaseSkill("agility"); characters.at(j).increaseSkill("intelligence"); characters.at(j).increaseSkill("jiujutsu"); characters.at(j).increaseSkill("lore: theology"); characters.at(j).increaseSkill("meditation"); break; case "mirumoto": characters.at(j).increaseTrait("agility"); characters.at(j).increaseTrait("agility"); characters.at(j).increaseTrait("void"); break; case "kitsuki": characters.at(j).increaseTrait("reflexe"); characters.at(j).increaseTrait("intelligence"); characters.at(j).increaseSkill("investigation"); break; } } characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "knives" : 2 }) ; characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "swordwanship" : 2 }) ; characters.createSamourai( "bushi", "f", "", "sons of the mountain tribe", "mirumoto bushi", 0, 0, { "crossbow" : 2 }) ; characters.createSamourai( "bushi", "f", "", "daughters of the flame", "mirumoto bushi", 0, 0, { "crossbow" : 2 }) ;