Correctly model the different armor types of the SRD #32
Labels
No labels
API
bug
can't reproduce
confirmed
dependencies
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
performance
question
to be confirmed
waiting for feedback
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: dungeonslayers/ds4#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Story
As a ds4 user, I want the different armor types to correctly model what is described by the SRD so that I can follow the games rules properly.
Description
Currently, we have 2 types of items which provide armor:
armor
shield
sFor armor has a couple of different
armorType
s (body
,helmet
,vambrace
,greaves
,vambraceGreaves
) andmaterialTypes
(cloth
,leather
,chain
,plate
). This does not properly reflect what is defined by the SRD. In particular, the SRD doesn't define any material types for helmets and greaves / vambrace. We should adjust our model to correctly fit the SRD. In order to do this, helmets and greaves / vambrace should be modeled as separate item types, similar to how this is already done with shields.Acceptance criteria
chestArmor
helmet
greavesVambraces
shield
chestArmor
armor has a propertymaterialType
, which can be one ofcloth
,leather
,chain
, andplate
.chestArmor
does not have a propertyarmorType
any more as armor only represents chest armor now.helmet
does not have any special properties (similar to how shield is currently implemented).greavesVambraces
hav a propertytype
, which can be one ofgreaves
,vambraces
, andgreavesAndVambraces
.shield
s don't have any special properties, i.e. there are no changes to them.