It seems correct, but in the starting combat, the heroname is not defined, unless you declared it as a global variable beforehand.
New here? I'm Roha — want a quick tour?
It seems correct, but in the starting combat, the heroname is not defined, unless you declared it as a global variable beforehand.