What's a way to implement a flexible buff/debuff system?
Overview: Lots of games with RPG-like statistics allow for character "buffs", ranging from simple "Deal 25% extra damage" to more complicated things like "Deal 15 damage back to attackers when hit...
gamedev.stackexchange.com