Wyvernshield 2 - Character Upgrades for Combat Systems's icon

Wyvernshield 2 - Character Upgrades for Combat Systems 0.3 Scripts 4.0 Community

Submitted by user don-tnowe; MIT; 2024-09-02

Framework for RPG passive abilities. Attach a bunch of trigger reactions to `reaction_container`, then do `reaction_container.hit_received(who, how, damage)` and all the reactions will contribute to the received hit.

- Reactions that change the outcome of an action based on conditions - can be attached and removed at runtime
- Stat modifications that support grouping changes to then remove together - when an item gets equipped or unequipped, for example
- Derivative stats (such as: strength becoming damage and health)
- Temporary stat changes and reactions, for status effects 'n' such
- Custom inspector view for reactions and stat modifications

Using code generation, provides one of the simplest possible API implementations with good performance. Just configure it in the database resource, and trigger the chain like a regular function!

Each item in the chain will call their own functions, modifying the result or reading from it to cause side effects.

For example reactions and a description of how they work, check example/trigger_reactions/reactions.gd.


View files Download Submit an issue Recent Edits