Added default computation for maxValue when generating items for village level. Fixed the missing connections.
Added default computation for maxValue when generating items for village level. Fixed the missing connections.

tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles