Too much spaghetti

 This has been a nightmare on the free time I'va had to put into it. I have a pool of generic upgrades to mix in with the level ups now, and it's mostly working pretty good, but I found I created a problem for myself. The damage for each weapon is calculated within each weapon script, which shouldn't be as much of a problem since they all are based on the values from the player's character stats, but for some reason adding to that with the general damage upgrade has no effect on the calculations for two of the weapons. So right now I'm stuck trying to untangle and refactor my code so that the damage is more centralized and easier to work with, but I'll probably want to do the same with everything else to avoid this kind of problem in the future as well. Yaaay...

Also, I ADHD hyper focused on learning how to use my drawing tablet and I'm gonna be a legit digital artist now



Comments

Popular Posts