Adding Damage Over Time

I have been working hard the past few days to get things like damage over time and debuffs into the game.  I struggled on this because I spent too much time staring at the same code and refused to get a new perspective.  Sometimes the best thing you can do when you are stuck while coding is to take a step back and clear your head of the issue.  Then when you sit back down, try to come at it from a fresh angle.  In my case I couldn’t see the tree through the forest as it were.  I was seeing results that pointed to one thing, but I just couldn’t get out of my own way to see it.  youdiedFinally after too much time on my own, I asked for help, and even after my friend told me it had to be this, I still looked at that.  Eventually when I walked away and came back, I did a really quick search on what he said and it turned out to be the issue.  What relief and shame I feel right now.  I could have probably saved myself a few hours and a headache or two had I stopped and walked away sooner, oh, and maybe asked for help sooner too.  Damn my pride.  It’s ok to ask for help.  I have to remind myself of that a lot.  And most of the time when I do, it triggers something in my head and I end up answering my own question, so that should be my motivation.  Well like I always say, next time I will ask sooner.  I won’t, because I am stubborn and bullheaded which makes me pretty good at my job, but tough to deal with sometimes too.

If you were wondering.  The damage over time works great now, and effects laid onto another entity hit and stay there just like I wanted them to.  After that one small issue was cleared up the logic worked like a charm.

Make sure to check us out on IndieDB

Violent Sol Worlds and Cornflower Corbin

Or on Steam: Violent Sol Worlds and Cornflower Corbin

And if you want to hear my daily thoughts and stuff you can follow me @Viedt_EL

Leave a comment