Fixes & Changes:
- The damage and defence property didn't function properly. Recoded the functionality and tested it. The damage and defensive property you now set on an item will have a gameplay effect.
- Implemented configurable parameters to control the combat.
- In order for custom damage and defence measurements to be registered, you must list the item as "mythic" in the editor gui.
Code (YAML):
# Combat system configuration
combat
:
# Whether to show damage/defense feedback messages to players
show-damage-feedback
: true
show-defense-feedback
: true
# Defense calculation settings
defense-effectiveness
: 0.1
# Each point of defense reduces damage by this percentage
max-damage-reduction
: 0.8
# Maximum percentage of damage that can be blocked (80%)
min-damage-through
: 0.2
# Minimum percentage of damage that always goes through (20%)