Commit Graph

54 Commits

Author SHA1 Message Date
LeFrique 17936bcd83 Fixing Branch Update
+ Merged develop and solved merge conflicts
+ Added missing weight after update
+ Cleaned up not neaded parseFloat
2024-02-23 17:37:42 +01:00
LeFrique 1888e201e5 Merge branch 'develop' into lasten 2024-02-23 13:52:05 +01:00
Byroks 1624602407 + Button für Skills (#59)
Changes:
 + Styling anpassung für + buttons
 + CreatItem funktion angepasst, man kann optionen reingeben
 + button um skills zu erstellen eingefügt
Reviewed-on: #59
2024-02-21 22:29:58 +01:00
LeFrique a2de64be91 Complete Lasten & Gewichte
+ Fixed Belastung Effekt preventing opening new Actorsheets
+ Added Höchstlast Effekt (minor bug: Actorname? & doubled messages)
+ Fixed parsing problem on encumbrance
2024-02-21 18:32:01 +01:00
Byroks 50e2e534a0 Add workaround for double Belastun effekt 2024-02-18 15:31:15 +01:00
LeFrique 9e17887167 Fixed Items on Charactersheet (now opening again thanx Byroks)
+ Added missing Currency & Weight for several items
+ Added Weight on Gearsheet for Weapons, Defensive Weapons and Armor
2024-02-06 17:19:56 +01:00
Byroks a7d79d921b Revert "Merge branch 'develop' into lasten"
This reverts commit 365f06575e, reversing
changes made to 60c7a97ffe.
2024-02-05 18:07:27 +01:00
LeFrique 365f06575e Merge branch 'develop' into lasten 2024-02-05 13:55:44 +01:00
Byroks 24426bb248 HotFix nicht öffenbare Charaktere
Changes:
 + Currency hat bei (fast) allen Items gefehlt weswegen das Charakterblatt nicht mehr öffenbar war, nachdem man Wert und Currency eingetragen hat.
 + Beachte Menge für Vermögensrechnung
 + Hort rechnung beachtet jetzt Currency
2024-02-05 13:29:29 +01:00
LeFrique 60c7a97ffe Quantity for Wealth, Hoard & Encumbrance on items
+ Added multiply with quantity for Wealth
+ Added multiply with quantity for Hoard
+ Added multiply with quantity for Encumbrance
2024-01-27 16:18:36 +01:00
Byroks fe200c7ee2 Merge branch 'develop' into lasten 2024-01-22 22:36:14 +01:00
Byroks 454982906f Hotfix - can't open charaktersheet
Problem:
 +sometimes items had a null formula which blocked opening the sheet

Changes:
 + add ? to catch nulls
2024-01-22 22:24:12 +01:00
Byroks 50eca41fa6 WIP 2024-01-21 17:37:22 +01:00
Byroks 2afaba9827 #6-lasten-und-belastung
Changes:
 + berechne belastung
 + füge effect für belastung hinzu was B halbiert
 + Container berechnen lasten von gegenständen in ihnen (#16)
2024-01-21 15:12:12 +01:00
Byroks fa818e963a Merge branch 'develop' into lasten 2024-01-21 12:24:35 +01:00
Byroks 9d72b31d5f Add Items on Character Sheet
Changes:
 + add button to add all different kind of items directly onto the character sheet
 + fix #1 by correctly updating the item
2024-01-20 12:37:05 +01:00
oskaloq c13fef5103 Zusammenführung-von-Fertigkeiten,-Waffen-und-Rüstungen-im-Kampf-Tab-#15 (#48)
- Created character description tab
- Redesigned skill, gear and combat tab
- Weapons, defense weapons and armor is still in the gear tab. If you equip them (now directly possible via click on the equip icon), they appear in the combat tab. Reason: This holds the combat tab clean for combat stuff.

Co-authored-by: Ender <harald@drueppels.de>
Reviewed-on: #48
Reviewed-by: Byroks <byroks@gmail.com>
2024-01-16 11:25:39 +01:00
Byroks abf8077131 #33 Wrong wealth calculation (#34)
Changes:
 + add function to adjust item value depending on currency
Co-authored-by: Simon Gustavs <simon.gustavs@bms-cs.de>
Reviewed-on: #34
Reviewed-by: oskaloq <os_ka_loq@gmx.de>
2024-01-16 08:29:14 +01:00
Byroks b5b75aa2c6 #18 Remove ContainerId from containers (#29)
Changes
 + remove containerId variable from containers as it's not needed

Reviewed-on: #29
Reviewed-by: oskaloq <os_ka_loq@gmx.de>
2024-01-15 14:15:30 +01:00
LeFrique 3f2dbc4e21 Armor weight
+ Added weight to armor item
+ Count armor weight only if not equipped
2024-01-14 18:16:52 +01:00
LeFrique 3169bc89db Pack Overhaul
+ Added value to items, weapons & armor
+ Added currency to items, weapons & armor
+ Added weight to items, weapons & armor
- Added chatMessage & commented out for AP mod at heavy load (needs review)
2024-01-14 18:04:35 +01:00
LeFrique b026a81a9f Encumbrance & Movement
+ Added encumbrance
+ Added movement decrease by encumbrance (only when sheet is reloaded)
+ Prepared load capacity
2024-01-09 23:16:32 +01:00
LeFrique 71b04063e7 Lasten
+ Lasten gem. KOD. S. 59
2024-01-07 20:05:51 +01:00
LeFrique b8e873537c Zwergenhort (#4)
Mein Geschenk zu Weihnachten:

Implementierung des Zwergenhort gem. KOD S. 167 mit Angabe aktueller Mindesthort für aktuellen Grad und benötigtem Hort für nächsten Grad bei Zwergen. Der Hort erscheint nur bei ausgewählter Rasse Zwerg und wird bei allen anderen Rassen versteckt. Die Anrechnung von Gold oder Gegenständen wie auch im KOD erwähnt erfordert die Implementierung eines Goldmanagements und am besten auch eine Neustrukturierung des Charakterbogens (s. weitere Issues).

Frohe Weihnachten ;)

Co-authored-by: Byroks <byroks@gmail.com>
Reviewed-on: #4
Co-authored-by: LeFrique <lefrique@live.de>
Co-committed-by: LeFrique <lefrique@live.de>
2024-01-07 14:31:20 +01:00
oskaloq b945f22710 Charakterbogen anpassen #7 (#9)
- Use of flexboxes in two columns for better display
- Introduction of item containers for the different storage of items

Co-authored-by: Ender <harald@drueppels.de>
Co-authored-by: Byroks <byroks@gmail.com>
Reviewed-on: Byroks/foundry-vtt-system-midgard5#9
Reviewed-by: Byroks <byroks@gmail.com>
2024-01-03 15:57:15 +01:00
Byroks bfa51605bc
Add Consumable Items (#62)
Changes:
 + add Quantity value for items
 + add plus and minus buttons for list
 + add roll button if item contains formulas
 + decrease quantity by 1 if rolled
2023-12-15 21:34:32 +01:00
Byroks 31cfd52131
Add currency to character sheet (#60)
Changes:
 + add fields to track currency
 + show value of standard items
2023-12-15 20:39:29 +01:00
LeFrique fed1175987
26 perception drinking all abilities (#56)
* Innate abilities

+ Added Perception as fixed innate ability
+ Added Drinking as fixed innate ability
+ Set Luckpoints to 0

* Duration Update

+ Added Duration to Effects
+ Added Perception to Eye & Ear Injury

* Fixed like recommended

+ Fixed M5Base
+Fixed M5Character
+ Fixed M5Rolls
+ Fixed Skills HBS
+ Fixed BrawlFw
+ Fixed Effect (not saved already)

* fix minor issues

---------

Co-authored-by: Byroks <byroks@gmail.com>
2023-12-13 18:45:35 +01:00
Byroks 1e27e135cf
15 add duration to active effects (#50)
* Add Effect Duration & Rework Combat tracker

Changes:
 + rework combat tracker to display every uneven round as Movementphase
 + rework combat tracker to display every even round as actionphase
 + add possibility for effects durations
 + effects duration decreases with every actionphase
 + add enum for time Units
 + update localization
 + add display of remaining time on effects
 + add duration for spelleffect "Bärenwut"

* add LP AP Manipulation through effects

Changes:
 + add LimitHeal function
 + adjust LP AP Values if Mod exists in an effect

* Fix linked actor not being updated
2023-12-11 17:36:12 +01:00
Byroks b5cffae778
Fix Armor misscalculation (#46)
Changes:
 + mod operation "add" can't go into negative numbers
2023-12-06 14:49:12 +01:00
Byroks 2b4e6b18d0
28 apply damage through chat (#40)
* Add Rightclick menu to apply damage/heal

Changes:
 + add rightclick context menu for rolls
 + only appears if keyword Schaden exists
 + calculate damage from all rolls with keyword Schaden
 + possible to apply damage or heal actor or if present token

ToDo:
 + add button that does the same

* Add Rüstungsschutz to damage calculation

Changes:
 + Add Damage application from chat
 + take token first, if none exist, take actor
 + include damage reduction from equipped armor
 + damage appliaction is only accesible through right click on roll

* Fix falsy display of rightclick context menu
2023-12-06 11:14:35 +01:00
Byroks 7e6147299b
Adjust Mod Calculation (#30)
Changes:
 + Adjust mod calculation
 + remov max 0 from subtract and addition
 + check in skills for subtract mod
2023-12-03 13:07:41 +01:00
LeFrique 6ff4f16f9d
18 add more operations for modifiers (#23)
* Added Operations and Combat Conditions

+ Added Multiply, Division and Subtract operations for modifiers
+ Added Combat Conditions Effects form Ars Armorum

* Added Math.floor()

* Fixed Operations and Combat Conditions
2023-12-01 19:04:58 +01:00
LeFrique 725dd8c504
Added Operations and Combat Conditions (#22)
* Added Operations and Combat Conditions

+ Added Multiply, Division and Subtract operations for modifiers
+ Added Combat Conditions Effects form Ars Armorum

* Added Math.floor()
2023-12-01 15:26:49 +01:00
Byroks 28595e7dd0
Make Items with mods equippable (#11)
Changes:
 + Items that can influence you stats are equippable
 + only equipped items influence your stats
 + Armor now influences your stats
 + move mods into a partial for easier changes
2023-11-30 15:50:59 +01:00
Byroks 8095785fc2
Movement stat (#10)
Changes:
 + make movement stat work and be moddable by effects
2023-11-29 10:14:49 +01:00
Byroks c635c54f24
Dev Kampfkünste Items & Integration (#7)
Changes:
 + add kampfkuenste template
 + add kampfkuenste tab
 + make kampfkuenste rollable
 + update localization
2023-11-28 19:42:38 +01:00
Byroks 97d4a35cd6 update localize Keys
Changes:
 + update localize Keys, to conform with v11
2023-11-25 16:38:05 +01:00
Byroks c2996aa974 Fix Raufen roll
Changes:
 + fix roll attributes for Raufen
2023-11-25 16:04:17 +01:00
Byroks 68cb8fcf6d Include Weapons and effects
Changes:
 + include weapon pack and effect pack
 + handle effects as own entity
 + effects can influence your attributes and skills
 + add Aktive Effekte page for effects on your character
2023-11-24 20:11:36 +01:00
Byroks 4ec3cc9570 add race boni and default resistance rolls
Changes:
 + add Race Selection Dropdown
 + change resistance/defense value calculation, based on race, stats and class
 + add default rolls for defense and resistances
2023-11-17 16:09:24 +01:00
Byroks 0e67ab06dc Take over project
Changes:
 + Update macros for crits
 + update lookup for Abwehr and Zaubern to display correct value
2023-11-17 09:10:29 +01:00
Michael Stein ae3381b3d1 Adds PP.
Adds item-sheet CSS class to item sheets.
2023-04-19 01:33:04 +02:00
mstein 0ac8107772 Fixes skill calculation. 2023-01-03 00:22:28 +01:00
mstein b104480a48 Converted lots of document access to V10. 2023-01-02 23:34:00 +01:00
mstein b3e2771e91 Add customizable rolls to items 2022-07-23 18:50:08 +02:00
mstein 58ed9d7d74 Finishes mod system functionality 2022-07-13 22:19:04 +02:00
mstein c827693e72 Adds mod calculation 2022-07-13 02:44:14 +02:00
mstein c8d59588e0 Adds mod management (WIP) 2022-07-05 00:10:08 +02:00
mstein 8b6bfd2efb Adds gear and spells as items.
Adds custom roll logic, inclusing chat message.
2022-06-19 00:18:41 +02:00