mirror of
https://github.com/morbalint/kemkas.git
synced 2026-11-14 17:29:42 +00:00
set up for second edition
This commit is contained in:
49 files changed
+6
-7
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import './App.css';
|
import './App.css';
|
||||||
import CreateCharacter from "./pages/CreateCharacter";
|
import CreateCharacter from "./first-edition/pages/CreateCharacter";
|
||||||
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
||||||
import {Faro} from "@grafana/faro-web-sdk";
|
import {Faro} from "@grafana/faro-web-sdk";
|
||||||
|
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -5,7 +5,7 @@ import {AllowedPancelTypes} from '../domain-models/allowed-pancel-types'
|
|||||||
import pancelok from '../domain-models/pancel.json'
|
import pancelok from '../domain-models/pancel.json'
|
||||||
import pajzsok from '../domain-models/pajzs.json'
|
import pajzsok from '../domain-models/pajzs.json'
|
||||||
import fegyverek from '../domain-models/fegyver.json'
|
import fegyverek from '../domain-models/fegyver.json'
|
||||||
import {arraySetN} from "../util";
|
import {arraySetN} from "../../util";
|
||||||
import {AllowedFegyver} from "../domain-models/allowed-fegyver";
|
import {AllowedFegyver} from "../domain-models/allowed-fegyver";
|
||||||
|
|
||||||
export function FegyverLabel(fegyver: Fegyver): string {
|
export function FegyverLabel(fegyver: Fegyver): string {
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -6,7 +6,7 @@ import {
|
|||||||
KepzettsegId,
|
KepzettsegId,
|
||||||
TolvajKepzettsegList,
|
TolvajKepzettsegList,
|
||||||
} from "../domain-models/kepzettsegek";
|
} from "../domain-models/kepzettsegek";
|
||||||
import {arraySetN} from "../util";
|
import {arraySetN} from "../../util";
|
||||||
|
|
||||||
|
|
||||||
function InternalKepzettsegekSelector(props: {
|
function InternalKepzettsegekSelector(props: {
|
||||||
File renamed without changes.
@@ -3,7 +3,7 @@ import {KarakterInputs} from "../domain-models/karakter";
|
|||||||
import BasicNewLevel from "./BasicNewLevel";
|
import BasicNewLevel from "./BasicNewLevel";
|
||||||
import TulajdonsagNoveles from "./TulajdonsagNoveles";
|
import TulajdonsagNoveles from "./TulajdonsagNoveles";
|
||||||
import {Tulajdonsag, TulajdonsagokTotal} from "../domain-models/tulajdonsag";
|
import {Tulajdonsag, TulajdonsagokTotal} from "../domain-models/tulajdonsag";
|
||||||
import {arraySetN} from "../util";
|
import {arraySetN} from "../../util";
|
||||||
import {Osztaly} from "../domain-models/osztaly";
|
import {Osztaly} from "../domain-models/osztaly";
|
||||||
import HarcosFegyverSpecializacio from "./HarcosFegyverSpecializacio";
|
import HarcosFegyverSpecializacio from "./HarcosFegyverSpecializacio";
|
||||||
import KalozKritikus from "./KalozKritikus";
|
import KalozKritikus from "./KalozKritikus";
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -10,8 +10,7 @@ export function OsztalySkillsTordelt(osztaly: Osztaly) : Skill[] {
|
|||||||
'egyszer választható, s arra is fölhasználható, hogy a harcos megtanulja egy egzotikus\n' +
|
'egyszer választható, s arra is fölhasználható, hogy a harcos megtanulja egy egzotikus\n' +
|
||||||
'fegyver használatát, amire később specializálódhat is. 9. szinttől elérhető számukra a\n' +
|
'fegyver használatát, amire később specializálódhat is. 9. szinttől elérhető számukra a\n' +
|
||||||
'kettős specializáció: ezzel sebzésmódosítójukat az adott fegyverre +4-re emelhetik.'
|
'kettős specializáció: ezzel sebzésmódosítójukat az adott fegyverre +4-re emelhetik.'
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
case Osztaly.Ijasz: return [
|
case Osztaly.Ijasz: return [
|
||||||
{
|
{
|
||||||
Id: 's_harcos_ijasz',
|
Id: 's_harcos_ijasz',
|
||||||
@@ -24,7 +24,7 @@ function drawExtendedSkillDescription(skill: Skill, font: PDFFont, baseFontSize:
|
|||||||
return rows;
|
return rows;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function DrawOsztalySpecialsPage(page: PDFPage, font: PDFFont, fontBold: PDFFont, karakter: KarakterPdfView): number{
|
export function DrawOsztalySpecialsPage(page: PDFPage, font: PDFFont, fontBold: PDFFont, karakter: KarakterPdfView): number {
|
||||||
const baseFontSize = 12
|
const baseFontSize = 12
|
||||||
const titleFontSize = baseFontSize * 3
|
const titleFontSize = baseFontSize * 3
|
||||||
const pageCenterX = page.getWidth()/2
|
const pageCenterX = page.getWidth()/2
|
||||||
File renamed without changes.
Reference in new issue
Block a user