GetHeroId

comment

Returns the ID of the leveled up hero, so it can be used in the heroes levels code function (probably SetHeroLevels).

patch

1.00

Source
common.ai (raise an issue to discuss on Github or submit a PR)
return type
integer
Source code
native GetHeroId            takes nothing                               returns integer