Rewrited version of WHeroesAddon