What does GetGameVar output for this variable? If it outputs "1", there won't be an error, but what if something like "HappyBirthday" has crept in there?
This is a number, specifically the hero's level:
kasparLevel = GetGameVar("kasparLevel") + 0;Added 3 minutes later
And it outputs the hero's level during debugging.
Сценарии:
"Холм мертвецов"
"Священное древо"