lotgd / core

Core functionality for Legend of the Green Dragon, a text-based RPG game.
GNU Affero General Public License v3.0
152 stars 15 forks source link

Adds complete and extended buff functionality #35

Closed Vassyli closed 8 years ago

Vassyli commented 8 years ago

This PR adds the buff functionality to the battle object. It supports all buff types supported by LotGD 0.9.7 and extends upon them by introducing a bunch of other variables to complete the buff set.

The buff fields have been renamed to describe their effect in more detail and to make it clear upon whom the buff acts. All buffs are added as events, meaning that player or monster death can happen after every applied buff event as well.

A list of supported buff fields can be taken from the buff model file were they are described in greater detail.

austenmc commented 8 years ago

lgtm

Thanks for writing all this code.