Skip to content
#3539
Auto-translated
I just copied Gerter's script into MapScript, but nothing changed. The value was NIL when getting the global variable with the name 'GetUntiManaPoints', and that's it. Ugh, I'm such a blind goat. I'll fix it now.

Added 12 minutes later
Yes, mana is now being added correctly, thank you very much. "Attempt to call a nil value" - does the console display this message when there is no target for the spell? And how do I add this target? The idea was to replicate Elva's spell from the "Uninvited Guests" map, but not with lightning, but with cold, and I don't need as many heroes as there are in that map yet.