Mk, So I was wondering how you would set up to be able to apply attach any type of value to a unit (ie triggered attack damage bonus) and be able to store that value amongst other values of the same type (ie multiple different attack modifying values). Ie I want to trigger stackable dynamic and static buff effects, but I want to store each portion as it's own piece of data, because when buffs end and such, i don't want to be removing more than what I put.
So, for instance, I have 3 buffs, 1 stock attack boost, one stock attack reduction, and another attack % boost. Now each boost is dependent upon the hero's stats at the time of casting the buff, so I want to hold onto each effect separately. So my question is, how would I do this in a system so that i could support this kind of thing on any unit?
same type of things goes for a buff system: I want to be able to place buffs for a set period of time, be able to modify their duration on the fly, and allow them to interact with other buffs in any way I want.
-Drain Pipe Out-