Fix undefined heros when updating attack values