As per the title/question. Does anyone have any insight or at least a guess as to how the spell system works in Noita. The?
The game is done in cpp. AndC++, and it has a spells that can be modified with other spells and spell modifiers that each have their own logic and so on. What
What I'm wondering is how theyto manage itsuch a system. I'm still trying to learn programminlearning programming, so I'm trying to decipher how something of that sort would hebe done. At a surface level, I guess it would he a massive switch case for each effect with an enum for the type. But that frankly seems stupidimpractical. So iI would think it's storing some function thaythat a spell has and calling it each time a certain condition is meet. Suchmet, such as when the projectile hits an enemy.