sbuller / divided-posterity

An online multiplayer browser based bonanza.
4 stars 0 forks source link

Triggers need to know and save more stuff #34

Open frazazel opened 15 years ago

frazazel commented 15 years ago

Right now triggers only know what Combatant they're attached to, and what Action to call (as well as what Effect/Combat/etc. they belong to, so they can be properly deleted).

Triggers will also need to know who triggered them (in the case of a counter-attack skill, for example). Triggers should store who created them in the first place (so that if they drain the health of the target or something, the correct Combatant will gain health).