Hello,
I'm not sure whether I've misunderstood the purpose of a method or not, or if I've done something wrong.
I have an ability set to level up type: spend, and linked to a specific experience status. Within the abilityShortcut there is a method CanLevelUp returning a bool value, and I had expected this to return TRUE if the player possessed enough experience to level up the ability, FALSE otherwise.
Not sure if I've set things up wrong on my side but it seems to return true all the time. Is this expected behaviour?
Cheers!
What you're looking for is the CanLevelUpSpend function, which takes the Combatant that is checked for the points as an argument, e.g. ability.CanLevelUpSpend(combatant).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!