willowtreeapps / wombats-api

Wombats API
https://github.com/willowtreeapps/wombats-documentation
MIT License
10 stars 4 forks source link

Feature #90 Wall Deterioration #221

Closed oconn closed 7 years ago

oconn commented 7 years ago

Feature

Walls can receive damage and after enough damage has occurred, the wall is required to visually change.

To accomplish this we are applying the :deterioration-level parameter to the contents of the cell.

I added this process to the finalize-frame pipeline so the arena is scanned only once while making these updates.

Note: deterioration levels will be applied to anything with hp. This will allow us to support features in the future like (injured wombats / Zakano) ## Feature

Warning

This PR does require a database refresh