:: heroCreator.tw [script]

window.getHeroSlave = function(heroSlave, baseHeroSlave) {
    var newSlave = clone(baseHeroSlave);
    for (var attrname in heroSlave) {
        newSlave[attrname] = heroSlave[attrname];
    };
    return newSlave;
}
