Skip to content
#4015
Auto-translated
Magnificent
Possible solution: temporarily add Knowledge to the hero, and after increasing the amount of mana, return the Knowledge to its previous value. Example:

ChangeHeroStat("Deleb", STAT_KNOWLEDGE, 10)
ChangeHeroStat("Deleb", STAT_MANA_POINTS, 100)
ChangeHeroStat("Deleb", STAT_KNOWLEDGE, -10)

I quickly checked it through the console. Yes, it works, the mana remains above the maximum value. For now, this is how it's done; perhaps someone knows how to do it with a single command.
I was thinking about this, but I hoped that I was just being stupid and didn't know a better way. But still, thank you. Damn, how did I do it with a single command that time?