- Removed initiative

- Reimplemented container Adding
- Adjusted some colors and margins for better looking
- Added LP and AP Max input fields to Werte und Boni
- Made LP and AP Max a label in the health bar instead
This commit is contained in:
Ender
2024-01-25 20:55:04 +01:00
parent 9da36e6a6f
commit d8df3d9611
7 changed files with 23 additions and 13 deletions
-3
View File
@@ -39,7 +39,6 @@ export class M5Character extends Actor {
): M5CharacterCalculatedData {
let ret: M5CharacterCalculatedData = {
level: 0,
initiative: 0,
attributes: {
st: { value: 0, bonus: 0, mods: [] },
gs: { value: 0, bonus: 0, mods: [] },
@@ -102,8 +101,6 @@ export class M5Character extends Actor {
ret.level = M5Character.levelFromExp(data.info.race === "Zwerg" ? Math.min(data.calc.stats?.hoard * 2 || 0, data.es) : data.es);
ret.initiative = data.skills.general.anfuehren.fw;
ret.attributes.st.value = M5Character.attributeMinMax(data.attributes.st); // TODO item effects
ret.attributes.gs.value = M5Character.attributeMinMax(data.attributes.gs);
ret.attributes.gw.value = M5Character.attributeMinMax(data.attributes.gw);