I’m making a Pokémon project using UE5 and I’ve followed Ryan Laley’s livestreams on how to do it and expanded on it. The problem is that when I try to heal my party, the PP on the moves just won’t reset. In this case I made their moves as a Map and associated the MoveDataAsset with an integer that represents current PP. I thougth that getting all the moves and then getting their Max PP from the DataAsset and Adding them again on the Map would work but it just doesn’t. I made something similar when decreasing current PP that works fine so assumed that this would follow the same principle, the difference is that when I decrease the PP on battle I don’t use the node Keys as I already have a reference to the move that is being spawned, so I don’t need to access all of them. I will send a few screenshots to demonstrate what my issue is (any help would be appreciated).
(The PP value here is the Max PP)

And here is the BP that decreases the move PP:
(I do set the array element after this)