- 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:
@@ -157,7 +157,6 @@ export interface M5AttributeCalculated extends M5ModResult {
|
||||
|
||||
export interface M5CharacterCalculatedData {
|
||||
level: number;
|
||||
initiative: number;
|
||||
attributes: {
|
||||
st: M5AttributeCalculated;
|
||||
gs: M5AttributeCalculated;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user