Hi all, I'd just like to preface this by saying that I'm fairly new to the modding scene.
That being said, I'm having a bit of trouble here. I'm trying to make a custom sword class that will give the player a resistance effect while blocking. In order to do that, I figured that I would use the isBlocking method, seeing as it is made to check if the player is blocking. However, doing this will completely freeze the game once I block, at least with the way I'm coding this. I think that this might be an infinite loop situation, but I can't for the life of me figure out why this would be the case. Any suggestions on how to fix this? All help is appreciated!
By the way, the main thing I'm having trouble with there is everything to do with the blockEnhance variable (basically the while loop and down). Everything above that works fine.