Trying to avoid giant switch statements

You should invest skillpoints in ScriptableObjects!! Roll against your INT

All dungeonmaster jokes aside, ScriptableObjects are amazing for exactly this sort of thing like making spells or effects or really any parameterized type of authored thing.

Not only that you can get clever with base types and / or inheritance and REALLY kick up your data definition game.

In fact, looka these linkies!

ScriptableObject usage in RPGs:

Usage as a shared common data container:

1 Like