v0.0.2 - DevLog - JR
"Problems with Magic System Functionality"
Author: Jeremiah Rangel
Posted on 06/21/24
THE PROBLEM
After getting the Magic system's base blueprint and Fireball spell blueprint completed, I moved on to getting the blueprint code into the player blueprint to set the Fireball spell's functionality. However, when I went to test it, the spell did not abide by (1) the cooldown and (2) the spell charges - the amount of times you could use a spell before you were out of juice - requirement. I checked my spell logic, both the base spell and the Fireball spell, and I even refactored some of the logic in the hopes that it would fix the issue. I toggled breakpoints left and right and saw that the spell was going through everything in the functions. However, even that didn't fix the issues at hand.
THE SOLUTION
The solution was fairly simple: when doing the blueprint code and functionality for the player, I forgot to include an Object Reference to the spell itself for the player. I had the Class Reference set up but forgot to assign an Object Reference to the spell so that the values that I wanted to get modified actually got modified in the process. Without the Object Reference, no values were getting changed or saved at all, which allowed infinite spell usage and no "fire rate cap" on the spell usage as well.
Get Plight of the Gods
Plight of the Gods
Fight your inner self to heighten your inner self
Status | Prototype |
Authors | acidwalrusdigital, ilrathCXV (FM), KevinHall14, MysticF0x, Lhans |
Genre | Fighting, Adventure, Role Playing |
Tags | 3D, casting, Fantasy, Magic, melee, Singleplayer, student |
More posts
- Devlog Update: Plight of the Gods is Now Live!98 days ago
- V0.1.3 - KHJul 26, 2024
- V0.1.3-Devlog-ENJul 25, 2024
- V.0.1.3 Devlog - LHJul 25, 2024
- v0.1.3 - DevLog - JRJul 25, 2024
- V0.1.2Jul 20, 2024
- V0.1.2 Devlog - LHJul 20, 2024
- V0.1.2 Devlog-ENJul 18, 2024
- V0.1.1 Devlog-KHJul 13, 2024
- v0.1.1 DevLog - JRJul 12, 2024
Leave a comment
Log in with itch.io to leave a comment.