Basic Combat Systems - Multi-User-Domain/vocab GitHub Wiki
In a game jam completed in May 2023 we wrote a card game with simplified combat mechanics but where players could inject a relatively unrestricted variety of cards
For the card game we needed a classic system of point resources (health, mana), and attacks which would deal damage to those resources
For this purpose we wrote the mudcombat ontology, which is made up of the following parts:
PointResource
which is a generic way to define things like health points and mana points. Some of the typical kinds used in games are also defined (like HP). The generic property ishasPointResourceStats
AttackDetails
is an object which can be added to anAction
(instant) orTask
(interval). It models fixedDamage, or maximumDamage and minimumDamage