You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal of the first iteration will be a CombatHandler that holds CombatInstances
Each CombatInstance will hold the references to fighters and context stuff like initiative, maybe in json format?
The CombatHandler will be where the flow is defined but not where each piece will be defined, I mean by that it will call related functions and only keep the things together.
Only the auto attack will be implemented first and very loosely, just as a starting point.
Combat messages will be split in two parts and taken from dicts of combat styles, say oneHandedSword, that will contain the attack string to be formatted,
the second part will be the defense string or the wound string.
Defense string will need to be altered by type of defense and perhaps type of attack, could be a dict of dict if we keep to JSON
Wound messages will need to be altered by the damage type, damage lethality and wounds created
At first, I will only implement damage type and damage lethality
This lethality will be based off damage given vs health remaining, so the player can't be killed by a scratch and each wounds are progressively worse as the combat goes on until the "coup de grace" which could be a special "execution" message
implements a command system
The text was updated successfully, but these errors were encountered: