make slavedTo unitDef tag honor LUA_WEAPON_BASE_INDEX