Nestharus
o-o
- Reaction score
- 83
JASS:
library GetMapMaxHeroLevel
globals
private integer m
endglobals
function GetMapMaxHeroLevel takes nothing returns integer
return m
endfunction
private module N
private static method onInit takes nothing returns nothing
local unit u=CreateUnit(Player(15),'Hpal',0,0,0)
call SetHeroLevel(u,6553,false)
set m=GetHeroLevel(u)
call RemoveUnit(u)
set u=null
endmethod
endmodule
private struct I extends array
implement N
endstruct
endlibrary