BURNING ENEMIES in my Dream Game - Penumbra Tower Indie Roguelike Devlog

https://www.youtube.com/watc...
In this Penumbra Tower Devlog, we are going to covers status effects: mainly burning, poison, bleed, and freeze... with the addition of some other items that i also added to the game over the last couple weeks (block, thorns, actions, stun). Something I realized that I didn't cover while rewatching the video was the way I handled implementing status effects. Essentially the item or the tile that applies the status effect passes a scriptable object to the target, that scriptable object contains information like the status effect damage and duration. The unit (either player or enemy) contains a method that checks during certain times in the game states if the status effect object data is null or not, if the data is not null the method runs (which would be either burning the enemy or freezing their actions). #indiegame #devlog #Roguelike